public class StringElement extends AbstractAmetysElement
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
_attributes |
private String |
_data |
_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 |
|---|
StringElement(String tagName,
Map<String,String> attributes)
Create a string element
|
StringElement(String tagName,
Map<String,String> attributes,
Element parent)
Create a string element
|
StringElement(String tagName,
Map<String,String> attributes,
String data)
Create a string element
|
StringElement(String tagName,
Map<String,String> attributes,
String data,
Element parent)
Create a string element
|
StringElement(String tagName,
String data)
Create a string element
|
StringElement(String tagName,
String data,
Element parent)
Create a string element
|
StringElement(String tagName,
String attributeName,
String attributeValue)
Create a string element
|
StringElement(String tagName,
String attributeName,
String attributeValue,
Element parent)
Create a string element
|
StringElement(String tagName,
String attributeName,
String attributeValue,
String data)
Create a string element
|
StringElement(String tagName,
String attributeName,
String attributeValue,
String data,
Element parent)
Create a string element
|
| Modifier and Type | Method and Description |
|---|---|
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, setIdAttributeNS_getChildNodes, appendChild, 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, setUserDatapublic StringElement(String tagName, String data)
tagName - The tag namedata - The data value.public StringElement(String tagName, String attributeName, String attributeValue)
tagName - The tag nameattributeName - The attribute name.attributeValue - The attribute value.public StringElement(String tagName, String attributeName, String attributeValue, String data)
tagName - The tag nameattributeName - The attribute with the value.attributeValue - The attribute value.data - The data value.public StringElement(String tagName, Map<String,String> attributes)
attributes - The attributes names and values.tagName - The tag name.public StringElement(String tagName, Map<String,String> attributes, String data)
tagName - The tag nameattributes - The attributes names and values.data - The data value.public StringElement(String tagName, String data, Element parent)
tagName - The tag namedata - The data value.parent - the parent Element.public StringElement(String tagName, String attributeName, String attributeValue, Element parent)
tagName - The tag nameattributeName - The attribute name.attributeValue - The attribute value.parent - the parent Element.public StringElement(String tagName, String attributeName, String attributeValue, String data, Element parent)
tagName - The tag nameattributeName - The attribute with the value.attributeValue - The attribute value.data - The data value.parent - the parent Element.public StringElement(String tagName, Map<String,String> attributes, Element parent)
attributes - The attributes names and values.tagName - The tag name.parent - the parent Element.protected Map<String,AmetysAttribute> _lookupAttributes()
AbstractAmetysElement_lookupAttributes in class AbstractAmetysElementpublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class AbstractAmetysNode