public class ProgramElement extends AbstractODFElement<Program>
Program
._depth, _resolver
_object
_parent
ATTRIBUTE_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 |
---|
ProgramElement(Program program,
AmetysObjectResolver resolver)
Constructor.
|
ProgramElement(Program program,
int depth,
AbstractODFElement<?> parent,
AmetysObjectResolver resolver)
Constructor.
|
ProgramElement(Program program,
int depth,
AmetysObjectResolver resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,AmetysAttribute> |
_lookupAttributes()
Returns a Map<name, value> corresponding to the attributes.
|
String |
getTagName() |
getFirstChild, getNextSibling, hasChildNodes
getWrappedObject
getAttribute, 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, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, setUserData
public ProgramElement(Program program, AmetysObjectResolver resolver)
program
- the underlying Program
.resolver
- AmetysObjectResolver to find some elements by IDpublic ProgramElement(Program program, int depth, AmetysObjectResolver resolver)
program
- the underlying Program
.depth
- Set to positive number to get child subprograms structure until given depth. Set negative number to get all child subprograms structureresolver
- AmetysObjectResolver to find some elements by IDpublic ProgramElement(Program program, int depth, AbstractODFElement<?> parent, AmetysObjectResolver resolver)
program
- the underlying Program
.depth
- Set to positive value to get children subprogram structureparent
- Parent of the element. Always be nullresolver
- AmetysObjectResolver to find some elements by IDpublic String getTagName()
getTagName
in interface Element
getTagName
in class AbstractAmetysElement
protected Map<String,AmetysAttribute> _lookupAttributes()
AbstractAmetysElement
_lookupAttributes
in class AbstractODFElement<Program>