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