Package com.xmlcalabash.steps
Class AddAttributeStep
-
- All Implemented Interfaces:
-
com.xmlcalabash.api.XProcStep
,com.xmlcalabash.runtime.ProcessMatchingNodes
public final class AddAttributeStep extends AbstractAtomicStep implements ProcessMatchingNodes
-
-
Field Summary
Fields Modifier and Type Field Description private XProcDocument
document
private String
matchPattern
private QName
attName
private String
attValue
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 AddAttributeStep()
-
Method Summary
Modifier and Type Method Description final XProcDocument
getDocument()
final Unit
setDocument(XProcDocument document)
final String
getMatchPattern()
final Unit
setMatchPattern(String matchPattern)
final QName
getAttName()
final Unit
setAttName(QName attName)
final String
getAttValue()
final Unit
setAttValue(String attValue)
final ProcessMatch
get_matcher()
final Unit
set_matcher(ProcessMatch _matcher)
final ProcessMatch
getMatcher()
Unit
run()
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, reset, 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
-
getDocument
final XProcDocument getDocument()
-
setDocument
final Unit setDocument(XProcDocument document)
-
getMatchPattern
final String getMatchPattern()
-
setMatchPattern
final Unit setMatchPattern(String matchPattern)
-
getAttName
final QName getAttName()
-
setAttName
final Unit setAttName(QName attName)
-
getAttValue
final String getAttValue()
-
setAttValue
final Unit setAttValue(String attValue)
-
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)
-
-
-
-