public class XHTMLPrefixRemover extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
XHTMLPrefixRemover(Receiver next) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
java.lang.CharSequence value,
Location locationId,
int properties)
Notify an attribute.
|
void |
namespace(NamespaceBindingSet namespaceBindings,
int properties)
Notify a namespace.
|
void |
startElement(NodeName elemName,
SchemaType typeCode,
Location location,
int properties)
Notify the start of an element
Specific treatment of elements in XHTML, SVG and MathML namespaces forces a namespace to be emitted too,
rather than by higher level default behaviour.
|
append, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public XHTMLPrefixRemover(Receiver next)
public void startElement(NodeName elemName, SchemaType typeCode, Location location, 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.location
- properties
- properties of the element nodeXPathException
- if an error occurspublic void namespace(NamespaceBindingSet namespaceBindings, int properties) throws XPathException
namespace
in interface Receiver
namespace
in class ProxyReceiver
namespaceBindings
- 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 occurspublic void attribute(NodeName nameCode, SimpleType typeCode, java.lang.CharSequence value, Location locationId, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class ProxyReceiver
nameCode
- The name of the attribute, as held in the name pooltypeCode
- The type of the attribute, as held in the name poollocationId
- properties
- Bit significant value. The following bits are defined:
value
- the string value of the attributeXPathException
- if an error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.