corpus-services
1.0
|
Public Member Functions | |
XSLTransformer () throws TransformerConfigurationException | |
XSLTransformer (String impl) throws TransformerConfigurationException | |
String | transform (String xml, String xsl) throws TransformerException |
String | transform (StreamSource xmlSource, StreamSource xslSource) throws TransformerException |
String | transform (StreamSource xmlSource) throws TransformerException |
String | transform (String xml) throws TransformerException |
void | setParameter (String parameterName, Object parameterValue) |
void | setParameters (Map< String, Object > params) |
Object | getParameter (String parameterName) |
Map | getParameters () |
void | setOutputProperty (String propertyName, String propertyValue) |
void | setOutputProperties (Map< String, String > outputProps) |
Object | getOutputProperty (String propertyName) |
Map | getOutputProperties () |
void | setTransformerFactoryImpl (String impl) |
String | getTransformerFactoryImpl () |
Class for performing XSLT transformation with net.sf.saxon.TransformerFactoryImpl or other custom implementation.
Definition at line 28 of file XSLTransformer.java.
de.uni_hamburg.corpora.utilities.XSLTransformer.XSLTransformer | ( | ) | throws TransformerConfigurationException |
Class constructor.
Definition at line 39 of file XSLTransformer.java.
de.uni_hamburg.corpora.utilities.XSLTransformer.XSLTransformer | ( | String | impl | ) | throws TransformerConfigurationException |
Class constructor specifying the TransformerFactoryImpl used for XSLT transformation.
Definition at line 47 of file XSLTransformer.java.
Map de.uni_hamburg.corpora.utilities.XSLTransformer.getOutputProperties | ( | ) |
Get all properties as Map object that were set for the XSLT transformation.
Definition at line 228 of file XSLTransformer.java.
Object de.uni_hamburg.corpora.utilities.XSLTransformer.getOutputProperty | ( | String | propertyName | ) |
Get a single property that was set for the XSLT transformation.
propertyName | Name of the property that shall be returned |
Definition at line 217 of file XSLTransformer.java.
Object de.uni_hamburg.corpora.utilities.XSLTransformer.getParameter | ( | String | parameterName | ) |
Get a single parameter that was set for the XSLT transformation.
parameterName | Name of the parameter that shall be returned |
Definition at line 175 of file XSLTransformer.java.
Map de.uni_hamburg.corpora.utilities.XSLTransformer.getParameters | ( | ) |
Get all parameters as Map object that were set for the XSLT transformation.
Definition at line 186 of file XSLTransformer.java.
String de.uni_hamburg.corpora.utilities.XSLTransformer.getTransformerFactoryImpl | ( | ) |
Get TransformerFactoryImpl (represented as class name in String) for the XSLT transformation.
Definition at line 251 of file XSLTransformer.java.
void de.uni_hamburg.corpora.utilities.XSLTransformer.setOutputProperties | ( | Map< String, String > | outputProps | ) |
Set a bunch of properties for the XSLT transformation.
outputProps | Map object representing property names and values |
Definition at line 207 of file XSLTransformer.java.
void de.uni_hamburg.corpora.utilities.XSLTransformer.setOutputProperty | ( | String | propertyName, |
String | propertyValue | ||
) |
Set a single property for the XSLT transformation.
propertyName | Name of the output property |
propertyValue | Value of the output property |
Definition at line 197 of file XSLTransformer.java.
void de.uni_hamburg.corpora.utilities.XSLTransformer.setParameter | ( | String | parameterName, |
Object | parameterValue | ||
) |
Set a single parameter for the XSLT transformation.
parameterName | Name of the parameter |
parameterValue | Value of the parameter |
Definition at line 155 of file XSLTransformer.java.
void de.uni_hamburg.corpora.utilities.XSLTransformer.setParameters | ( | Map< String, Object > | params | ) |
Set a bunch of parameters for the XSLT transformation.
params | Map object representing parameter names and values |
Definition at line 165 of file XSLTransformer.java.
void de.uni_hamburg.corpora.utilities.XSLTransformer.setTransformerFactoryImpl | ( | String | impl | ) |
Set TransformerFactoryImpl (represented as class name in String) for the XSLT transformation.
impl | TransformerFactoryImpl represented as class name in String |
Definition at line 239 of file XSLTransformer.java.
String de.uni_hamburg.corpora.utilities.XSLTransformer.transform | ( | String | xml, |
String | xsl | ||
) | throws TransformerException |
Returns a String object that represents the result of an XSLT transformation.
xml | XML as String object that is used as the basis for the XSLT transformation |
xsl | XSLT stylesheet as String object |
Definition at line 61 of file XSLTransformer.java.
String de.uni_hamburg.corpora.utilities.XSLTransformer.transform | ( | StreamSource | xmlSource, |
StreamSource | xslSource | ||
) | throws TransformerException |
Returns a String object that represents the result of an XSLT transformation.
xml | XML as StreamSource object that is used as the basis for the XSLT transformation |
xsl | XSLT stylesheet as StreamSource object |
Definition at line 76 of file XSLTransformer.java.
String de.uni_hamburg.corpora.utilities.XSLTransformer.transform | ( | StreamSource | xmlSource | ) | throws TransformerException |
Returns a String object that represents the result of an XSLT transformation.
xmlSource | XML as StreamSource object that is used as the basis for the XSLT transformation |
Definition at line 129 of file XSLTransformer.java.
String de.uni_hamburg.corpora.utilities.XSLTransformer.transform | ( | String | xml | ) | throws TransformerException |
Returns a String object that represents the result of an XSLT transformation.
xml | XML as String object that is used as the basis for the XSLT transformation |
Definition at line 142 of file XSLTransformer.java.