public class ExpressionPresenterToJson extends ProxyReceiver
nextReceiverpipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
ExpressionPresenterToJson(JSONEmitter 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 |
endDocument()
Notify the end of a document node
|
void |
endElement()
End of element
|
void |
processingInstruction(java.lang.String target,
java.lang.CharSequence data,
Location locationId,
int properties)
Processing Instruction
|
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, getNamePool, getNextReceiver, namespace, open, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, usesTypeAnnotationsappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppendpublic ExpressionPresenterToJson(JSONEmitter 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 attributetypeCode - The type of the attributevalue - locationId - the location of the node in the source, or of the instruction that created itproperties - Bit significant value. The following bits are defined:
IllegalStateException: - attempt to output an attribute when there is no open elementXPathException - 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
ProxyReceiverprocessingInstruction in interface ReceiverprocessingInstruction in class ProxyReceivertarget - The PI name. This must be a legal name (it will not be checked).data - The data portion of the processing instructionlocationId - provides information such as line number and system ID.properties - Additional information about the PI.XPathException - if an error occurspublic void endDocument()
throws XPathException
endDocument in interface ReceiverendDocument in class ProxyReceiverXPathException - if an error occurspublic void close()
throws XPathException
close in interface Receiverclose in class ProxyReceiverXPathException - if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.