- All Implemented Interfaces:
- Result, Receiver
public class StringValueAccumulator
- extends Checker
A StringValueAccumulator is a Receiver that computes the string value of an element in streaming mode, by
copying all the text nodes to a supplied receiver.
|Methods inherited from class com.saxonica.validate.Checker
attribute, close, comment, endDocument, endElement, getConfiguration, getPipelineConfiguration, getSystemId, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotations
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public StringValueAccumulator(FastStringBuffer buffer)
public void characters(CharSequence chars,
- Description copied from interface:
- Notify 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:
characters in interface
characters in class
chars - The characters
locationId - an integer which can be interpreted using a
to return information such as line number and system ID. If no location information is available,
the value zero is supplied.
properties - Bit significant value. The following bits are defined:
- Disable escaping for this text node
- Output as a CDATA section
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.