Package com.saxonica.ee.stream.feed
Class StringValueGatherer
java.lang.Object
com.saxonica.ee.validate.AbstractReceiver
com.saxonica.ee.stream.feed.StringValueGatherer
A StringValueGatherer is a Receiver that computes the string value of an element in streaming mode, by
copying all the text nodes to a supplied receiver.
-
Field Summary
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(UnicodeString chars, Location locationId, int properties) Notify character data.Methods inherited from class com.saxonica.ee.validate.AbstractReceiver
close, comment, endDocument, endElement, getConfiguration, getPipelineConfiguration, getSystemId, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnparsedEntity, startDocument, startElement, usesTypeAnnotationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.event.Receiver
append, append, handlesAppend
-
Constructor Details
-
StringValueGatherer
-
-
Method Details
-
characters
public void characters(UnicodeString chars, Location locationId, int properties) throws XPathException Description copied from interface:ReceiverNotify character data. Note that some receivers may require the character data to be sent in a single event, but in general this is not a requirement.- Specified by:
charactersin interfaceReceiver- Overrides:
charactersin classAbstractReceiver- Parameters:
chars- The characterslocationId- provides information such as line number and system ID.properties- Bit significant value. The following bits are defined:- DISABLE_ESCAPING
- Disable escaping for this text node
- USE_CDATA
- Output as a CDATA section
- Throws:
XPathException- if an error occurs
-