|
|||||||||
| Home >> All >> org >> jdaemon >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdaemon.util.xml
Class XMLTransformation

java.lang.Objectorg.jdaemon.util.xml.XMLTransformation
- All Implemented Interfaces:
- XMLWritable
- public class XMLTransformation
- extends java.lang.Object
- implements XMLWritable
- extends java.lang.Object
Class which adds a transformation to the output of some other XMLWritable object
| Field Summary | |
private javax.xml.transform.sax.SAXTransformerFactory |
factory
|
private java.util.Map |
parameters
|
private XMLWritable |
parent
|
private javax.xml.transform.Templates |
templates
|
| Constructor Summary | |
XMLTransformation(XMLWritable parent,
java.io.InputStream xsl)
Creates a new instance of XMLTranformation. |
|
XMLTransformation(XMLWritable parent,
javax.xml.transform.sax.SAXTransformerFactory factory,
javax.xml.transform.Source xsl)
Creates a new instance of XMLTranformation. |
|
XMLTransformation(XMLWritable parent,
javax.xml.transform.sax.SAXTransformerFactory factory,
javax.xml.transform.Templates templates)
Creates a new instance of XMLTranformation. |
|
XMLTransformation(XMLWritable parent,
javax.xml.transform.Source xsl)
Creates a new instance of XMLTranformation. |
|
XMLTransformation(XMLWritable parent,
javax.xml.transform.Templates templates)
Creates a new instance of XMLTranformation. |
|
| Method Summary | |
protected void |
applyParameters(javax.xml.transform.sax.TransformerHandler handler)
Apply parameter values to a handler |
void |
setParameter(java.lang.String name,
java.lang.Object value)
Set a parameter of the transformer |
void |
write(javax.xml.transform.Result result)
Write transformed result to output |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
parent
private XMLWritable parent
templates
private javax.xml.transform.Templates templates
parameters
private java.util.Map parameters
factory
private javax.xml.transform.sax.SAXTransformerFactory factory
| Constructor Detail |
XMLTransformation
public XMLTransformation(XMLWritable parent, javax.xml.transform.sax.SAXTransformerFactory factory, javax.xml.transform.Templates templates)
- Creates a new instance of XMLTranformation.
The transformation operates on the output of 'parent', and is based on the transformer template 'templates'.
SAXTransformerFactory is one of those unfortunately necessary pieces of glue...
XMLTransformation
public XMLTransformation(XMLWritable parent, javax.xml.transform.sax.SAXTransformerFactory factory, javax.xml.transform.Source xsl) throws javax.xml.transform.TransformerConfigurationException
- Creates a new instance of XMLTranformation.
The transformation operates on the output of 'parent', and is based on the transformer template 'templates'.
SAXTransformerFactory is one of those unfortunately necessary pieces of glue...
XMLTransformation
public XMLTransformation(XMLWritable parent, javax.xml.transform.Source xsl) throws javax.xml.transform.TransformerConfigurationException
- Creates a new instance of XMLTranformation.
The transformation operates on the output of 'parent', and is based on the transformer template 'templates'.
SAXTransformerFactory is one of those unfortunately necessary pieces of glue...
XMLTransformation
public XMLTransformation(XMLWritable parent, javax.xml.transform.Templates templates)
- Creates a new instance of XMLTranformation.
The transformation operates on the output of 'parent', and is based on the transformer template 'templates'.
SAXTransformerFactory is one of those unfortunately necessary pieces of glue...
XMLTransformation
public XMLTransformation(XMLWritable parent, java.io.InputStream xsl) throws javax.xml.transform.TransformerConfigurationException
- Creates a new instance of XMLTranformation.
The transformation operates on the output of 'parent', and is based on the transformer template 'templates'.
SAXTransformerFactory is one of those unfortunately necessary pieces of glue...
| Method Detail |
setParameter
public void setParameter(java.lang.String name, java.lang.Object value)
- Set a parameter of the transformer
applyParameters
protected void applyParameters(javax.xml.transform.sax.TransformerHandler handler)
- Apply parameter values to a handler
write
public void write(javax.xml.transform.Result result) throws javax.xml.transform.TransformerException
- Write transformed result to output
- Specified by:
writein interfaceXMLWritable
|
|||||||||
| Home >> All >> org >> jdaemon >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdaemon.util.xml.XMLTransformation