public class MetadataElement extends AbstractWrappingAmetysElement<String>
File hierarchy.| Modifier and Type | Field and Description |
|---|---|
private String |
_defaultValue |
(package private) CompositeMetadata |
_metadataHolder |
_object_parentATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
MetadataElement(String metadataName,
CompositeMetadata metadataHolder)
Constructor.
|
MetadataElement(String metadataName,
CompositeMetadata metadataHolder,
CompositeMetadataElement parent)
Constructor.
|
MetadataElement(String metadataName,
CompositeMetadata metadataHolder,
CompositeMetadataElement parent,
String defaultValue)
Constructor.
|
MetadataElement(String metadataName,
CompositeMetadata metadataHolder,
String defaultValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,AmetysAttribute> |
_lookupAttributes()
Returns a Map<name, value> corresponding to the attributes.
|
Node |
getFirstChild() |
Node |
getNextSibling() |
String |
getTagName() |
boolean |
hasChildNodes() |
getWrappedObjectgetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNodeName, getNodeType, getParentNode, getSchemaTypeInfo, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS_getChildNodes, appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getLastChild, getNamespaceURI, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getLastChild, getNamespaceURI, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataCompositeMetadata _metadataHolder
private String _defaultValue
public MetadataElement(String metadataName, CompositeMetadata metadataHolder)
metadataName - the name of underlying metadatametadataHolder - the parent CompositeMetadatapublic MetadataElement(String metadataName, CompositeMetadata metadataHolder, String defaultValue)
metadataName - the name of underlying metadatametadataHolder - the parent CompositeMetadatadefaultValue - the default valuepublic MetadataElement(String metadataName, CompositeMetadata metadataHolder, CompositeMetadataElement parent)
metadataName - the name of underlying metadatametadataHolder - the parent CompositeMetadataparent - the parent Element.public MetadataElement(String metadataName, CompositeMetadata metadataHolder, CompositeMetadataElement parent, String defaultValue)
metadataName - the name of underlying metadatametadataHolder - the parent CompositeMetadataparent - the parent Element.defaultValue - the default valuepublic String getTagName()
getTagName in interface ElementgetTagName in class AbstractAmetysElementprotected Map<String,AmetysAttribute> _lookupAttributes()
AbstractAmetysElement_lookupAttributes in class AbstractAmetysElementpublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class AbstractAmetysNodepublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class AbstractAmetysNodepublic Node getNextSibling()
getNextSibling in interface NodegetNextSibling in class AbstractAmetysNode