public class MapElement extends AbstractAmetysElement
| Modifier and Type | Class and Description |
|---|---|
static class |
MapElement.MapNode
This class represents a element
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
_attributes |
private Map<String,? extends Object> |
_values |
_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 |
|---|
MapElement(String tagName,
Map<String,? extends Object> values)
Constructor.
|
MapElement(String tagName,
Map<String,? extends Object> values,
Element parent)
Constructor.
|
MapElement(String tagName,
Map<String,String> attributes,
Map<String,? extends Object> values)
Constructor.
|
MapElement(String tagName,
Map<String,String> attributes,
Map<String,? extends Object> values,
Element parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected NodeList |
_getChildNodes()
Actual processing of child nodes.
|
protected Map<String,AmetysAttribute> |
_lookupAttributes()
Returns a Map<name, value> corresponding to the attributes.
|
Node |
getFirstChild() |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNodeName, getNodeType, getParentNode, getSchemaTypeInfo, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getLastChild, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getUserData, hasChildNodes, 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, getNextSibling, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprivate Map<String,String> _attributes
public MapElement(String tagName, Map<String,? extends Object> values)
tagName - the tag name.values - the values.public MapElement(String tagName, Map<String,String> attributes, Map<String,? extends Object> values)
tagName - the tag name.attributes - The attributes names and values.values - the values.public MapElement(String tagName, Map<String,? extends Object> values, Element parent)
tagName - the tag name.values - the values.parent - the parent Element if any.protected Map<String,AmetysAttribute> _lookupAttributes()
AbstractAmetysElement_lookupAttributes in class AbstractAmetysElementpublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class AbstractAmetysNodeprotected NodeList _getChildNodes()
AbstractAmetysNode_getChildNodes in class AbstractAmetysNode