Package com.xmlcalabash.util
Class SaxonTreeBuilder
-
- All Implemented Interfaces:
public class SaxonTreeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private BuilderLocation
location
private Boolean
isNamespaceReducing
private final XdmNode
result
private Boolean
inDocument
private Boolean
seenRoot
private final Processor
processor
-
Constructor Summary
Constructors Constructor Description SaxonTreeBuilder(DocumentContext config)
SaxonTreeBuilder(XProcStepConfiguration config)
SaxonTreeBuilder(Processor processor)
-
Method Summary
Modifier and Type Method Description final BuilderLocation
getLocation()
final Unit
setLocation(BuilderLocation location)
final Boolean
isNamespaceReducing()
final Unit
setNamespaceReducing(Boolean isNamespaceReducing)
final XdmNode
getResult()
final Boolean
getInDocument()
final Unit
setInDocument(Boolean inDocument)
final Boolean
getSeenRoot()
final Unit
setSeenRoot(Boolean seenRoot)
final Processor
getProcessor()
final Unit
excludeNamespaces(Set<NamespaceUri> uris)
Unit
startDocument(URI baseURI)
final Unit
endDocument()
final Unit
addSubtree(XdmValue value)
final Unit
addStartElement(QName nodeName)
final Unit
addStartElement(XdmNode node)
final Unit
addStartElement(XdmNode node, URI overrideBaseURI)
final Unit
addStartElement(XdmNode node, QName newName)
final Unit
addStartElement(XdmNode node, QName newName, URI overrideBaseURI)
final Unit
addStartElement(XdmNode node, AttributeMap attrs)
final Unit
addStartElement(XdmNode node, QName newName, URI overrideBaseURI, AttributeMap attrs)
final Unit
addStartElement(QName newName, AttributeMap attrs)
final Unit
addStartElement(QName newName, AttributeMap attrs, NamespaceMap nsmap)
final Unit
addStartElement(NodeName elemName, SchemaType typeCode)
final Unit
addStartElement(NodeName elemName, SchemaType typeCode, NamespaceMap nsmap)
final Unit
addStartElement(NodeName elemName, AttributeMap attrs, SchemaType typeCode, NamespaceMap nsmap, URI overrideBaseURI)
final Unit
addStartElement(NodeName elemName, AttributeMap attrs, SchemaType typeCode, NamespaceMap nsmap)
final Unit
addEndElement()
final Unit
addComment(String comment)
final Unit
addText(String text)
final Unit
addPI(String target, String data, String baseURI)
final Unit
addPI(String target, String data)
final XdmNode
xslt(String documentUri, String id, String version, String defaultMode, String defaultValidation, String inputTypeAnnotations, String defaultCollation, String extensionElementPrefixes, String excludeResultPrefixes, Boolean expandText, String useWhen, String xpathDefaultNamespace, Map<QName, String> attributes, String vocabularyPrefix, String vocabularNamespace, Map<String, String> ns, Function1<XsltStylesheet, Unit> init)
-
-
Constructor Detail
-
SaxonTreeBuilder
SaxonTreeBuilder(DocumentContext config)
-
SaxonTreeBuilder
SaxonTreeBuilder(XProcStepConfiguration config)
-
SaxonTreeBuilder
SaxonTreeBuilder(Processor processor)
-
-
Method Detail
-
getLocation
final BuilderLocation getLocation()
-
setLocation
final Unit setLocation(BuilderLocation location)
-
isNamespaceReducing
final Boolean isNamespaceReducing()
-
setNamespaceReducing
final Unit setNamespaceReducing(Boolean isNamespaceReducing)
-
getResult
final XdmNode getResult()
-
getInDocument
final Boolean getInDocument()
-
setInDocument
final Unit setInDocument(Boolean inDocument)
-
getSeenRoot
final Boolean getSeenRoot()
-
setSeenRoot
final Unit setSeenRoot(Boolean seenRoot)
-
getProcessor
final Processor getProcessor()
-
excludeNamespaces
final Unit excludeNamespaces(Set<NamespaceUri> uris)
-
startDocument
Unit startDocument(URI baseURI)
-
endDocument
final Unit endDocument()
-
addSubtree
final Unit addSubtree(XdmValue value)
-
addStartElement
final Unit addStartElement(QName nodeName)
-
addStartElement
final Unit addStartElement(XdmNode node)
-
addStartElement
final Unit addStartElement(XdmNode node, URI overrideBaseURI)
-
addStartElement
final Unit addStartElement(XdmNode node, QName newName)
-
addStartElement
final Unit addStartElement(XdmNode node, QName newName, URI overrideBaseURI)
-
addStartElement
final Unit addStartElement(XdmNode node, AttributeMap attrs)
-
addStartElement
final Unit addStartElement(XdmNode node, QName newName, URI overrideBaseURI, AttributeMap attrs)
-
addStartElement
final Unit addStartElement(QName newName, AttributeMap attrs)
-
addStartElement
final Unit addStartElement(QName newName, AttributeMap attrs, NamespaceMap nsmap)
-
addStartElement
final Unit addStartElement(NodeName elemName, SchemaType typeCode)
-
addStartElement
final Unit addStartElement(NodeName elemName, SchemaType typeCode, NamespaceMap nsmap)
-
addStartElement
final Unit addStartElement(NodeName elemName, AttributeMap attrs, SchemaType typeCode, NamespaceMap nsmap, URI overrideBaseURI)
-
addStartElement
final Unit addStartElement(NodeName elemName, AttributeMap attrs, SchemaType typeCode, NamespaceMap nsmap)
-
addEndElement
final Unit addEndElement()
-
addComment
final Unit addComment(String comment)
-
xslt
final XdmNode xslt(String documentUri, String id, String version, String defaultMode, String defaultValidation, String inputTypeAnnotations, String defaultCollation, String extensionElementPrefixes, String excludeResultPrefixes, Boolean expandText, String useWhen, String xpathDefaultNamespace, Map<QName, String> attributes, String vocabularyPrefix, String vocabularNamespace, Map<String, String> ns, Function1<XsltStylesheet, Unit> init)
-
-
-
-