public class ExpressionPresenterToJson extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
ExpressionPresenterToJson(JSONWriter out,
PipelineConfiguration pipe) |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
java.lang.CharSequence value,
Location locationId,
int properties)
Notify an attribute.
|
void |
close()
End of output.
|
void |
endElement()
End of element
|
void |
processingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
Processing Instruction (used only for the checksum at the end
|
void |
startContent()
Notify the start of the content, that is, the completion of all attributes and namespaces.
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
Location location,
int properties)
Notify the start of an element
|
append, characters, comment, endDocument, getNamePool, getUnderlyingReceiver, namespace, open, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, usesTypeAnnotationsappend, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiverpublic ExpressionPresenterToJson(JSONWriter out, PipelineConfiguration pipe)
public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ProxyReceivernameCode - integer code identifying the name of the element within the name pool.typeCode - integer code identifying the element's type within the name pool.location - properties - for future use. Should be set to zero.XPathException - if an error occurspublic void attribute(NodeName nameCode, SimpleType typeCode, java.lang.CharSequence value, Location locationId, int properties) throws XPathException
attribute in interface Receiverattribute in class ProxyReceivernameCode - The name of the attribute, as held in the name pooltypeCode - The type of the attribute, as held in the name poolvalue - locationId - properties - Bit significant value. The following bits are defined:
XPathException - if an error occurspublic void startContent()
throws XPathException
startContent in interface ReceiverstartContent in class ProxyReceiverXPathException - if an error occurspublic void endElement()
throws XPathException
endElement in interface ReceiverendElement in class ProxyReceiverXPathException - if an error occurspublic void processingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
throws XPathException
processingInstruction in interface ReceiverprocessingInstruction in class ProxyReceivertarget - data - locationId - properties - XPathException - if an error occurspublic void close()
throws XPathException
close in interface Receiverclose in class ProxyReceiverXPathException - if an error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.