net.sf.saxon.event
public class XHTMLURIEscaper extends HTMLURIEscaper
currentElement, escapeURIAttributes, pool
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
XHTMLURIEscaper() |
Modifier and Type | Method and Description |
---|---|
void |
attribute(int nameCode,
int typeCode,
java.lang.CharSequence value,
int locationId,
int properties)
Notify an attribute.
|
void |
open()
Do the real work of starting the document.
|
escapeURL, isUrlAttribute, startDocument, startElement
append, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent
getPipelineConfiguration, getSystemId
public void open() throws XPathException
open
in interface Receiver
open
in class ProxyReceiver
XPathException
public void attribute(int nameCode, int typeCode, java.lang.CharSequence value, int locationId, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class HTMLURIEscaper
nameCode
- The name of the attribute, as held in the name pooltypeCode
- The type of the attribute, as held in the name poolproperties
- Bit significant value. The following bits are defined:
value
- the string value of the attributelocationId
- 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.IllegalStateException:
- attempt to output an attribute when there is no open element
start tagXPathException