public static class Source.Generator extends Element implements IGenerator
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.String,Source.Generator> |
KEY
The key for this element.
|
static AttributeKey<java.net.URI> |
URI
Metadata for the uri attribute.
|
static AttributeKey<java.lang.String> |
VERSION
Metadata for the version attribute.
|
Constructor and Description |
---|
Source.Generator()
Constructs a new instance using the default metadata.
|
Source.Generator(ElementKey<?,? extends Source.Generator> key)
Constructs a new instance using the specified element metadata.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHref()
Deprecated.
Use
getUriUri() instead. |
java.lang.String |
getName()
Generator name.
|
java.net.URI |
getUriUri()
Gets URI associated with source.
|
java.lang.String |
getVersion()
Version.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
void |
setName(java.lang.String v) |
void |
setUri(java.lang.String v)
Deprecated.
Use
setUri(URI) instead. |
void |
setUri(java.net.URI v)
Sets URI associated with source.
|
void |
setVersion(java.lang.String v) |
addElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, lock, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
public static final ElementKey<java.lang.String,Source.Generator> KEY
public static final AttributeKey<java.lang.String> VERSION
public static final AttributeKey<java.net.URI> URI
public Source.Generator()
public Source.Generator(ElementKey<?,? extends Source.Generator> key)
key
- element key for this element.public static void registerMetadata(MetadataRegistry registry)
public java.lang.String getVersion()
getVersion
in interface IGenerator
public void setVersion(java.lang.String v)
@Deprecated public java.lang.String getHref()
getUriUri()
instead.getHref
in interface IGenerator
public java.net.URI getUriUri()
@Deprecated public void setUri(java.lang.String v)
setUri(URI)
instead.v
- URIpublic void setUri(java.net.URI v)
v
- URIpublic java.lang.String getName()
getName
in interface IGenerator
public void setName(java.lang.String v)