javax.xml.transform.Result, Receiverpublic class MetaTagAdjuster extends ProxyReceiver
nextReceiverPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPINGpipelineConfiguration, previousAtomic, systemId| Constructor | Description |
|---|---|
MetaTagAdjuster() |
Create a new MetaTagAdjuster
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
attribute(int nameCode,
int typeCode,
java.lang.CharSequence value,
int locationId,
int properties) |
Notify an attribute.
|
void |
endElement() |
End of element
|
void |
setIsXHTML(boolean xhtml) |
Indicate whether we're handling HTML or XHTML
|
void |
setOutputProperties(java.util.Properties details) |
Set output properties
|
void |
startContent() |
Notify the start of the content, that is, the completion of all attributes and namespaces.
|
void |
startElement(int nameCode,
int typeCode,
int locationId,
int properties) |
Notify the start of an element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, characters, close, comment, endDocument, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocumentgetPipelineConfiguration, getSystemIdpublic void setOutputProperties(java.util.Properties details)
public void setIsXHTML(boolean xhtml)
public void startElement(int nameCode,
int typeCode,
int locationId,
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.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.XPathExceptionpublic void attribute(int nameCode,
int typeCode,
java.lang.CharSequence value,
int locationId,
int properties)
throws XPathException
attribute in interface Receiverattribute in class ProxyReceivernameCode - 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.XPathExceptionpublic void startContent()
throws XPathException
startContent in interface ReceiverstartContent in class ProxyReceiverXPathExceptionpublic void endElement()
throws XPathException
endElement in interface ReceiverendElement in class ProxyReceiverXPathException