javax.xml.transform.Result, Receiverpublic class PIGrabber extends ProxyReceiver
nextReceiverPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPINGpipelineConfiguration, previousAtomic, systemId| Constructor | Description |
|---|---|
PIGrabber() |
| Modifier and Type | Method | Description |
|---|---|---|
javax.xml.transform.Source[] |
getAssociatedStylesheets() |
Return list of stylesheets that matched, as an array of Source objects
|
boolean |
isTerminated() |
Determine whether the parse terminated because the first start element tag was found
|
void |
open() |
Start of event stream
|
void |
processingInstruction(java.lang.String target,
java.lang.CharSequence data,
int locationId,
int properties) |
Handle xml-stylesheet PI
|
void |
setBaseURI(java.lang.String uri) |
Set the base URI
|
void |
setCriteria(java.lang.String media,
java.lang.String title,
java.lang.String charset) |
|
void |
setFactory(Configuration config) |
|
void |
setURIResolver(javax.xml.transform.URIResolver resolver) |
Set the URI resolver to be used for the href attribute
|
void |
startElement(int namecode,
int typecode,
int locationId,
int properties) |
Abort the parse when the first start element tag is found
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, attribute, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocumentgetPipelineConfiguration, getSystemIdpublic void setFactory(Configuration config)
public void setCriteria(java.lang.String media,
java.lang.String title,
java.lang.String charset)
public void setBaseURI(java.lang.String uri)
public void setURIResolver(javax.xml.transform.URIResolver resolver)
public void open()
ProxyReceiveropen in interface Receiveropen in class ProxyReceiverpublic 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.locationId - 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.properties - properties of the element nodeXPathExceptionpublic boolean isTerminated()
public void processingInstruction(java.lang.String target,
java.lang.CharSequence data,
int locationId,
int properties)
throws XPathException
processingInstruction in interface ReceiverprocessingInstruction in class ProxyReceivertarget - The PI name. This must be a legal name (it will not be checked).data - The data portion of the processing instructionlocationId - 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.properties - Additional information about the PI. The following bits are
defined:
XPathExceptionpublic javax.xml.transform.Source[] getAssociatedStylesheets()
throws javax.xml.transform.TransformerException
XPathException - if a URI cannot be resolvedjavax.xml.transform.TransformerException