Package com.xmlcalabash.steps
Class HashStep
-
- All Implemented Interfaces:
-
com.xmlcalabash.api.XProcStep
,com.xmlcalabash.runtime.ProcessMatchingNodes
public class HashStep extends AbstractAtomicStep implements ProcessMatchingNodes
-
-
Field Summary
Fields Modifier and Type Field Description private ByteArray
value
private QName
algorithm
private Map<QName, XdmValue>
parameters
private String
matchPattern
private String
version
private String
hash
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 HashStep()
-
Method Summary
Modifier and Type Method Description final ByteArray
getValue()
final Unit
setValue(ByteArray value)
final QName
getAlgorithm()
final Unit
setAlgorithm(QName algorithm)
final Map<QName, XdmValue>
getParameters()
final Unit
setParameters(Map<QName, XdmValue> parameters)
final String
getMatchPattern()
final Unit
setMatchPattern(String matchPattern)
final String
getVersion()
final Unit
setVersion(String version)
final String
getHash()
final Unit
setHash(String hash)
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
-
getAlgorithm
final QName getAlgorithm()
-
setAlgorithm
final Unit setAlgorithm(QName algorithm)
-
getParameters
final Map<QName, XdmValue> getParameters()
-
setParameters
final Unit setParameters(Map<QName, XdmValue> parameters)
-
getMatchPattern
final String getMatchPattern()
-
setMatchPattern
final Unit setMatchPattern(String matchPattern)
-
getVersion
final String getVersion()
-
setVersion
final Unit setVersion(String version)
-
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)
-
-
-
-