Package com.xmlcalabash.steps
Class ReplaceStep
-
- All Implemented Interfaces:
-
com.xmlcalabash.api.XProcStep
,com.xmlcalabash.runtime.ProcessMatchingNodes
public final class ReplaceStep extends AbstractAtomicStep implements ProcessMatchingNodes
-
-
Field Summary
Fields Modifier and Type Field Description private XProcDocument
replacement
private String
pattern
private ProcessMatch
_matcher
private final ProcessMatch
matcher
private final RuntimeStepParameters
stepParams
private final XProcStepConfiguration
stepConfig
private final Receiver
receiver
private final Map<QName, LazyValue>
options
private final Map<String, List<XProcDocument>>
queues
private final Long
nodeId
-
Constructor Summary
Constructors Constructor Description ReplaceStep()
-
Method Summary
Modifier and Type Method Description final XProcDocument
getReplacement()
final Unit
setReplacement(XProcDocument replacement)
final String
getPattern()
final Unit
setPattern(String pattern)
final ProcessMatch
get_matcher()
final Unit
set_matcher(ProcessMatch _matcher)
final ProcessMatch
getMatcher()
Unit
run()
Unit
reset()
Boolean
startDocument(XdmNode node)
Unit
endDocument(XdmNode node)
Boolean
startElement(XdmNode node, AttributeMap attributes)
AttributeMap
attributes(XdmNode node, AttributeMap matchingAttributes, AttributeMap nonMatchingAttributes)
Unit
endElement(XdmNode node)
Unit
text(XdmNode node)
Unit
comment(XdmNode node)
Unit
pi(XdmNode node)
String
toString()
-
Methods inherited from class com.xmlcalabash.steps.AbstractAtomicStep
abort, booleanBinding, establishNamespaceBinding, establishNamespaceBinding, extensionAttributes, getNodeId, getOptions, getQueues, getReceiver, getStepConfig, getStepParams, hasBinding, input, integerBinding, mediaTypeBinding, option, overrideContentTypes, qnameBinding, qnameMapBinding, setup, stringBinding, stringMapBinding, teardown, uriBinding, valueBinding, xmlBinding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getReplacement
final XProcDocument getReplacement()
-
setReplacement
final Unit setReplacement(XProcDocument replacement)
-
getPattern
final String getPattern()
-
setPattern
final Unit setPattern(String pattern)
-
get_matcher
final ProcessMatch get_matcher()
-
set_matcher
final Unit set_matcher(ProcessMatch _matcher)
-
getMatcher
final ProcessMatch getMatcher()
-
startDocument
Boolean startDocument(XdmNode node)
-
endDocument
Unit endDocument(XdmNode node)
-
startElement
Boolean startElement(XdmNode node, AttributeMap attributes)
-
attributes
AttributeMap attributes(XdmNode node, AttributeMap matchingAttributes, AttributeMap nonMatchingAttributes)
-
endElement
Unit endElement(XdmNode node)
-
-
-
-