static class ZbnfParserStore.BuilderTreeNodeXml
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bXmlSrcline
Will be set in
ZbnfParser.setXmlSrcline(boolean) , ZbnfParser.setXmlSrctext(boolean) . |
(package private) boolean |
bXmlSrctext
Will be set in
ZbnfParser.setXmlSrcline(boolean) , ZbnfParser.setXmlSrctext(boolean) . |
Constructor and Description |
---|
BuilderTreeNodeXml() |
Modifier and Type | Method and Description |
---|---|
(package private) XmlNode |
buildTreeNodeRepresentationXml(XmlNode xmlParent,
ZbnfParserStore.ParseResultItemImplement cmpnResult,
boolean bRecursive)
Builds an XML tree node representation for the current element and its children of a parser result item.
|
private XmlNode |
createXmlNode(XmlNode xmlParentP,
ZbnfParserStore.ParseResultItemImplement parseResult) |
private XmlNode |
createXmlNodeIntern(java.lang.String sTagName,
XmlNode xmlParent,
ZbnfParserStore.ParseResultItemImplement parseResult) |
boolean bXmlSrcline
ZbnfParser.setXmlSrcline(boolean)
, ZbnfParser.setXmlSrctext(boolean)
.boolean bXmlSrctext
ZbnfParser.setXmlSrcline(boolean)
, ZbnfParser.setXmlSrctext(boolean)
.XmlNode buildTreeNodeRepresentationXml(XmlNode xmlParent, ZbnfParserStore.ParseResultItemImplement cmpnResult, boolean bRecursive)
xmlParent
- null if a ZbnfParser.ParseResultlet#xmlResult
is built
in ZbnfParser.PrescriptParser#parsePrescript1(String, ZbnfParseResultItem, ZbnfParserStore, ZbnfParserStore, boolean, int)
.
in this case the node has not a parent. The parent if this method is called recursively internally.cmpnResult
- The Zbnf result component in the Zbnf Arraylist presentation.bRecursive
- true then for all children of children.private XmlNode createXmlNodeIntern(java.lang.String sTagName, XmlNode xmlParent, ZbnfParserStore.ParseResultItemImplement parseResult)
private XmlNode createXmlNode(XmlNode xmlParentP, ZbnfParserStore.ParseResultItemImplement parseResult)