public class Valve extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
Valve(String testNamespace,
Receiver primary,
Receiver secondary) |
Modifier and Type | Method and Description |
---|---|
void |
startElement(NodeName elemName,
SchemaType typeCode,
Location location,
int properties)
Notify the start of an element
|
boolean |
wasDiverted() |
append, attribute, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException
ProxyReceiver
startElement
in interface Receiver
startElement
in class ProxyReceiver
elemName
- 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
- an object providing information about the module, line, and column where the node originatedproperties
- properties of the element nodeXPathException
- if an error occurspublic boolean wasDiverted()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.