Class AmetysObjectElement<A extends AmetysObject>
java.lang.Object
org.ametys.core.util.dom.AbstractAmetysNode
org.ametys.core.util.dom.AbstractAmetysElement
org.ametys.core.util.dom.AbstractWrappingAmetysElement<A>
org.ametys.plugins.repository.dom.AmetysObjectElement<A>
- Type Parameters:
A
- the actual type of the wrappedAmetysObject
.
- Direct Known Subclasses:
AbstractResourceElement
,AbstractSitemapElementElement
Implementation of
Only methods useful for XPath processing are implemented.
Element
wrapping an AmetysObject
.Only methods useful for XPath processing are implemented.
-
Field Summary
Fields inherited from class org.ametys.core.util.dom.AbstractWrappingAmetysElement
_object
Fields inherited from class org.ametys.core.util.dom.AbstractAmetysElement
_parent
Fields inherited from interface org.w3c.dom.Node
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 Summary
ConstructorDescriptionAmetysObjectElement
(A object) Constructor.AmetysObjectElement
(A object, AmetysObjectElement<? extends TraversableAmetysObject> parent) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,
AmetysAttribute> This implementation returns all non-composite metadata.boolean
Methods inherited from class org.ametys.core.util.dom.AbstractWrappingAmetysElement
getWrappedObject
Methods inherited from class org.ametys.core.util.dom.AbstractAmetysElement
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
Methods inherited from class org.ametys.core.util.dom.AbstractAmetysNode
_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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
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
-
Constructor Details
-
AmetysObjectElement
Constructor.- Parameters:
object
- the underlyingAmetysObject
.
-
AmetysObjectElement
Constructor.- Parameters:
object
- the underlyingAmetysObject
.parent
- the parentElement
.
-
-
Method Details
-
getTagName
- Specified by:
getTagName
in interfaceElement
- Overrides:
getTagName
in classAbstractAmetysElement
-
_lookupAttributes
This implementation returns all non-composite metadata.- Specified by:
_lookupAttributes
in classAbstractAmetysElement
- Returns:
- the name/value pairs
-
hasChildNodes
- Specified by:
hasChildNodes
in interfaceNode
- Overrides:
hasChildNodes
in classAbstractAmetysNode
-
getFirstChild
- Specified by:
getFirstChild
in interfaceNode
- Overrides:
getFirstChild
in classAbstractAmetysNode
-
getNextSibling
- Specified by:
getNextSibling
in interfaceNode
- Overrides:
getNextSibling
in classAbstractAmetysNode
-