|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.transform.Transformer | +--org.apache.xalan.xsltc.trax.TransformerImpl
Method Summary | |
void |
clearParameters()
Implements JAXP's Transformer.clearParameters() Clear all parameters set with setParameter. |
void |
error(TransformerException e)
Receive notification of a recoverable error. |
void |
fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
ErrorListener |
getErrorListener()
Implements JAXP's Transformer.getErrorListener() Get the error event handler in effect for the transformation. |
SerializationHandler |
getOutputHandler(Result result)
Create an output handler for the transformation output based on the type and contents of the TrAX Result object passed to the transform() method. |
java.util.Properties |
getOutputProperties()
Implements JAXP's Transformer.getOutputProperties(). |
java.lang.String |
getOutputProperty(java.lang.String name)
Implements JAXP's Transformer.getOutputProperty(). |
java.lang.Object |
getParameter(java.lang.String name)
Implements JAXP's Transformer.getParameter() Returns the value of a given parameter. |
URIResolver |
getURIResolver()
Implements JAXP's Transformer.getURIResolver() Set the object currently used to resolve URIs used in document(). |
boolean |
isIdentity()
|
DOM |
retrieveDocument(java.lang.String uri,
int mask,
Translet translet)
This class should only be used as a DOMCache for the translet if the URIResolver has been set. |
void |
setErrorListener(ErrorListener listener)
Implements JAXP's Transformer.setErrorListener() Set the error event listener in effect for the transformation. |
void |
setOutputProperties(java.util.Properties properties)
Implements JAXP's Transformer.setOutputProperties(). |
void |
setOutputProperty(java.lang.String name,
java.lang.String value)
Implements JAXP's Transformer.setOutputProperty(). |
void |
setParameter(java.lang.String name,
java.lang.Object value)
Implements JAXP's Transformer.setParameter() Add a parameter for the transformation. |
void |
setURIResolver(URIResolver resolver)
Implements JAXP's Transformer.setURIResolver() Set an object that will be used to resolve URIs used in document(). |
void |
transferOutputProperties(SerializationHandler handler)
This method is used to pass any properties to the output handler when running the identity transform. |
void |
transform(Source source,
Result result)
Implements JAXP's Transformer.transform() |
void |
warning(TransformerException e)
Receive notification of a warning. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public boolean isIdentity()
public void transform(Source source, Result result) throws TransformerException
source
- Contains the input XML documentresult
- Will contain the output from the transformationpublic SerializationHandler getOutputHandler(Result result) throws TransformerException
public ErrorListener getErrorListener()
public void setErrorListener(ErrorListener listener) throws java.lang.IllegalArgumentException
listener
- The error event listener to usepublic java.util.Properties getOutputProperties()
public java.lang.String getOutputProperty(java.lang.String name) throws java.lang.IllegalArgumentException
name
- A non-null string that contains the name of the propertypublic void setOutputProperties(java.util.Properties properties) throws java.lang.IllegalArgumentException
properties
- The properties to use for the Transformerpublic void setOutputProperty(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
name
- The name of the property to setvalue
- The value to assign to the propertypublic void transferOutputProperties(SerializationHandler handler)
public void setParameter(java.lang.String name, java.lang.Object value)
name
- The name of the parametervalue
- The value to assign to the parameterpublic void clearParameters()
public final java.lang.Object getParameter(java.lang.String name)
name
- The name of the parameterpublic URIResolver getURIResolver()
public void setURIResolver(URIResolver resolver)
resolver
- The URIResolver to use in document()public DOM retrieveDocument(java.lang.String uri, int mask, Translet translet)
uri
- An URI pointing to the document locationmask
- Contains a document ID (passed from the translet)translet
- A reference to the translet requesting the documentpublic void error(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.public void fatalError(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.public void warning(TransformerException e) throws TransformerException
exception
- The warning information encapsulated in a transformer
exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |