public class XHTMLPrefixRemover extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
XHTMLPrefixRemover(Receiver next) |
Modifier and Type | Method and Description |
---|---|
void |
namespace(NamespaceBinding namespaceBinding,
int properties)
Notify a namespace.
|
void |
startElement(NodeName elemName,
SchemaType typeCode,
int locationId,
int properties)
Notify the start of an element
|
append, attribute, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId
public XHTMLPrefixRemover(Receiver next)
public void startElement(NodeName elemName, SchemaType typeCode, int locationId, int properties) throws XPathException
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.properties
- properties of the element nodelocationId
- an integer which can be interpreted using a LocationProvider
to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.XPathException
- if an error occurspublic void namespace(NamespaceBinding namespaceBinding, int properties) throws XPathException
namespace
in interface Receiver
namespace
in class ProxyReceiver
namespaceBinding
- the prefix/uri pair representing the namespace bindingproperties
- any special properties to be passed on this callIllegalStateException:
- attempt to output a namespace when there is no open element
start tagXPathException
- if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.