Uses of Class
org.opencms.xml.xml2json.CmsXmlContentTree.Node
-
Uses of CmsXmlContentTree.Node in org.opencms.xml.xml2json
Modifier and TypeFieldDescriptionprotected CmsXmlContentTree.Node
CmsXmlContentTree.Field.m_parentNode
The parent node of the field.Modifier and TypeMethodDescriptionCmsXmlContentTree.createNode
(org.dom4j.Element elem, CmsXmlContentDefinition contentDef) Creates a node for the given content definition and DOM element.CmsXmlContentTree.Field.getNode()
Gets the node if there is exactly one in the node list, otherwise throws an error.CmsXmlContentTree.getNodeForValue
(I_CmsXmlContentValue value) Gets the node corresponding to the given value.CmsXmlContentTree.Field.getParentNode()
Gets the parent node.CmsXmlContentTree.getRoot()
Returns the root node.Modifier and TypeMethodDescriptionCmsXmlContentTree.Field.getNodes()
Gets the nodes for the individual elements with that field name.Modifier and TypeMethodDescriptionvoid
CmsXmlContentTree.Field.setParentNode
(CmsXmlContentTree.Node parentNode) Sets the parent node of the field.static void
CmsXmlContentTree.visitNodes
(CmsXmlContentTree.Node node, Consumer<CmsXmlContentTree.Node> handler) Visits all Node instances that are descendants of a given node (including that node itself).Modifier and TypeMethodDescriptionstatic void
CmsXmlContentTree.visitNodes
(CmsXmlContentTree.Node node, Consumer<CmsXmlContentTree.Node> handler) Visits all Node instances that are descendants of a given node (including that node itself).ModifierConstructorDescriptionField
(I_CmsXmlSchemaType fieldDef, List<CmsXmlContentTree.Node> nodes) Create a new instance. -
Uses of CmsXmlContentTree.Node in org.opencms.xml.xml2json.renderer
Modifier and TypeMethodDescriptionCmsJsonRendererXmlContent.renderNode
(CmsXmlContentTree.Node node) Renders a tree node as JSON.protected Object
CmsJsonRendererXmlContent.renderSimpleValue
(CmsXmlContentTree.Node node) Renders a simple value (i.e.