Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,Author> |
KEY
The key for this element.
|
Modifier | Constructor and Description |
---|---|
|
Author()
Constructs a new Author instance.
|
protected |
Author(ElementKey<?,?> key)
Lets subclasses create an instance using a custom key.
|
protected |
Author(ElementKey<?,? extends Author> key,
Element source)
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. |
|
Author(java.lang.String name)
Constructs a new Author instance with the given name.
|
|
Author(java.lang.String name,
java.net.URI uri,
java.lang.String email)
Constructs a new author instance with the given name, uri, and email.
|
Modifier and Type | Method and Description |
---|---|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
getEmail, getName, getNameLang, getUri, getUriUri, setEmail, setName, setNameLang, setUri, setUri
adapt, adapt, addElement, addElement, addElement, clear, createElement, createElement, eq, 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, narrow, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, sameClassAs, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, validate, visit
public static final ElementKey<java.lang.Void,Author> KEY
public Author()
protected Author(ElementKey<?,?> key)
protected Author(ElementKey<?,? extends Author> key, Element source)
Element
instance. Will use the given ElementKey
as the
key for the element.key
- the element key to use for this element.source
- source elementpublic Author(java.lang.String name)
public Author(java.lang.String name, java.net.URI uri, java.lang.String email)
public static void registerMetadata(MetadataRegistry registry)