Package com.xmlcalabash.runtime
Class ProcessMatch
-
- All Implemented Interfaces:
public final class ProcessMatch extends SaxonTreeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private XPathSelector
_selector
private final XPathSelector
selector
private Integer
nodeCount
private final XProcStepConfiguration
stepConfig
private final ProcessMatchingNodes
nodeProcessor
private final Map<String, NamespaceUri>
inScopeNamespaces
private final Map<QName, XdmValue>
bindings
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 ProcessMatch(XProcStepConfiguration stepConfig, ProcessMatchingNodes nodeProcessor, Map<String, NamespaceUri> inScopeNamespaces, Map<QName, XdmValue> bindings)
-
Method Summary
Modifier and Type Method Description final XPathSelector
get_selector()
final Unit
set_selector(XPathSelector _selector)
final XPathSelector
getSelector()
final Integer
getNodeCount()
final Unit
setNodeCount(Integer nodeCount)
final XProcStepConfiguration
getStepConfig()
final ProcessMatchingNodes
getNodeProcessor()
final Map<String, NamespaceUri>
getInScopeNamespaces()
final Map<QName, XdmValue>
getBindings()
final Unit
process(XdmNode doc, String pattern)
Unit
startDocument(URI baseURI)
final Integer
count(XdmNode doc, String pattern, Boolean deep)
final Boolean
matches(XdmNode node)
final XPathSelector
compilePattern(String pattern)
Compiles a match pattern. -
Methods inherited from class com.xmlcalabash.util.SaxonTreeBuilder
addComment, addEndElement, addPI, addPI, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addStartElement, addSubtree, addText, endDocument, excludeNamespaces, getInDocument, getLocation, getProcessor, getResult, getSeenRoot, isNamespaceReducing, setInDocument, setLocation, setNamespaceReducing, setSeenRoot, xslt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ProcessMatch
ProcessMatch(XProcStepConfiguration stepConfig, ProcessMatchingNodes nodeProcessor, Map<String, NamespaceUri> inScopeNamespaces, Map<QName, XdmValue> bindings)
-
-
Method Detail
-
get_selector
final XPathSelector get_selector()
-
set_selector
final Unit set_selector(XPathSelector _selector)
-
getSelector
final XPathSelector getSelector()
-
getNodeCount
final Integer getNodeCount()
-
setNodeCount
final Unit setNodeCount(Integer nodeCount)
-
getStepConfig
final XProcStepConfiguration getStepConfig()
-
getNodeProcessor
final ProcessMatchingNodes getNodeProcessor()
-
getInScopeNamespaces
final Map<String, NamespaceUri> getInScopeNamespaces()
-
getBindings
final Map<QName, XdmValue> getBindings()
-
startDocument
Unit startDocument(URI baseURI)
-
compilePattern
final XPathSelector compilePattern(String pattern)
Compiles a match pattern.
This method is public so that the pattern provided to, for example p:viewport, can be checked statically.
-
-
-
-