Package org.ametys.web.repository.dom
Class SitemapElement
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>
org.ametys.web.repository.dom.AbstractSitemapElementElement<Sitemap>
org.ametys.web.repository.dom.SitemapElement
-
Field Summary
Fields inherited from class org.ametys.web.repository.dom.AbstractSitemapElementElement
_currentPagePath, _depth, _includeInvisiblePages, _policy, _renderingContextHandler, _rightManager, _tagProviderExtensionPoint, _userIdentity, NAMESPACE_PREFIX, NAMESPACE_URI
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
ConstructorDescriptionSitemapElement
(Sitemap sitemap, String currentPagePath, RightManager rightManager, RenderingContextHandler renderingContextHandler, UserIdentity userIdentity, long depth, boolean includeInvisiblePages, TagProviderExtensionPoint tagProviderExtensionPoint) Constructor.SitemapElement
(Sitemap sitemap, AbstractSitemapElementElement<SitemapElement> parent, RightManager rightManager, RenderingContextHandler renderingContextHandler, String currentPagePath, UserIdentity userIdentity, long depth, boolean includeInvisiblePages, TagProviderExtensionPoint tagProviderExtensionPoint) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,
AmetysAttribute> This implementation returns all non-composite metadata.Methods inherited from class org.ametys.web.repository.dom.AbstractSitemapElementElement
getFirstChild, getNamespaceURI, getNextSibling, hasChildNodes
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, 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, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
SitemapElement
public SitemapElement(Sitemap sitemap, String currentPagePath, RightManager rightManager, RenderingContextHandler renderingContextHandler, UserIdentity userIdentity, long depth, boolean includeInvisiblePages, TagProviderExtensionPoint tagProviderExtensionPoint) Constructor.- Parameters:
sitemap
- the wrappedSitemap
.currentPagePath
- the path of the current page, or null if none.rightManager
- the right managerrenderingContextHandler
- theRenderingContextHandler
.userIdentity
- the identity of the current user, or null if none.depth
- The depth to get. 1 for root pages, 0 for this node only, -1 for infinite.includeInvisiblePages
- Should return child invisible pagestagProviderExtensionPoint
- the tag provider extension point
-
SitemapElement
public SitemapElement(Sitemap sitemap, AbstractSitemapElementElement<SitemapElement> parent, RightManager rightManager, RenderingContextHandler renderingContextHandler, String currentPagePath, UserIdentity userIdentity, long depth, boolean includeInvisiblePages, TagProviderExtensionPoint tagProviderExtensionPoint) Constructor.- Parameters:
sitemap
- the wrappedSitemap
.parent
- the parent container.rightManager
- the right managercurrentPagePath
- the path of the current page, or null if none.renderingContextHandler
- theRenderingContextHandler
.userIdentity
- the identity of the current user, or null if none.depth
- The depth to get. 1 for root pages, 0 for this node only, -1 for infinite.includeInvisiblePages
- Should return child invisible pagestagProviderExtensionPoint
- the tag provider extension point
-
-
Method Details
-
getTagName
- Specified by:
getTagName
in interfaceElement
- Overrides:
getTagName
in classAmetysObjectElement<Sitemap>
-
_lookupAttributes
Description copied from class:AmetysObjectElement
This implementation returns all non-composite metadata.- Overrides:
_lookupAttributes
in classAmetysObjectElement<Sitemap>
- Returns:
- the name/value pairs
-