| Constructor and Description |
|---|
Generator()
Bean constructor.
|
Generator(String text)
Normal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Generator |
base(Object base)
Sets the URI base of this object.
|
String |
getText()
Returns the content of this generator statement.
|
URI |
getUri()
Returns the URI of this generator statement.
|
String |
getVersion()
Returns the version of this generator statement.
|
Generator |
lang(String lang)
Sets the language of this object.
|
Generator |
text(String text)
Sets the content of this generator statement.
|
Generator |
uri(Object uri)
Sets the URI of this generator statement.
|
Generator |
version(String version)
Sets the version of this generator statement.
|
public Generator(String text)
text - The generator statement content.public Generator()
@Xml(format=ATTR) public URI getUri()
@Beanp(value="uri") public Generator uri(Object uri)
The value can be of any of the following types: URI, URL, String.
Strings must be valid URIs.
URIs defined by UriResolver can be used for values.
uri - The URI of this generator statement.@Xml(format=ATTR) public String getVersion()
@Beanp(value="version") public Generator version(String version)
version - The version of this generator statement.@Xml(format=TEXT) public String getText()
@Beanp(value="text") public Generator text(String text)
text - The content of this generator statement.public Generator base(Object base)
Common
The value can be of any of the following types: URI, URL, String.
Strings must be valid URIs.
URIs defined by UriResolver can be used for values.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.