Package org.eclipse.wst.xsl.invoker.config
public class TransformDefinition extends java.lang.ObjectA definition of a particular step in the transformation pipeline.
Constructor Summary |
TransformDefinition() |
Method Summary | |
public void | addParameter(org.eclipse.wst.xsl.invoker.config.TypedValue parameter)Add a parameter to the set of parameters |
public org.w3c.dom.Element | asXML(org.w3c.dom.Document doc)Serialize this to a Document fragment. |
public static org.eclipse.wst.xsl.invoker.config.TransformDefinition | fromXML(org.w3c.dom.Element transformEl)Create a new instance of this from its serialized form. |
public java.util.Properties | getOutputProperties()Get the output properties for this. |
public java.util.Set | getParameters()The set of parameters |
public java.util.Map | getParametersAsMap()Get the parameters as a map of name ( String) v. value TypedValue. |
public java.lang.String | getResolverClass()Get the name of the URIResolver class to use. |
public java.lang.String | getStylesheetURL()Get the URL of the stylesheet. |
public void | removeOutputProperty(java.lang.String name)Remove an output property. |
public void | removeParameter(org.eclipse.wst.xsl.invoker.config.TypedValue parameter)Remove a parameter. |
public void | setOutputProperties(java.util.Properties outputProperties)Set the output properties for this. |
public void | setOutputProperty(java.lang.String name
,
java.lang.String value)Set the value of a specific output property. |
public void | setResolverClass(java.lang.String resolver)Set the name of the URIResolver class to use. |
public void | setStylesheetURL(java.lang.String stylesheet)Set the URL of the stylesheet. |
Constructor Detail |
public TransformDefinition()
Methods Detail |
public void addParameter(org.eclipse.wst.xsl.invoker.config.TypedValue parameter)
Add a parameter to the set of parameters
parameter - the parameter to add
public org.w3c.dom.Element asXML(org.w3c.dom.Document doc)
Serialize this to a Document fragment.
doc - the document to attach to
org.w3c.dom.Element - the root element of the fragment
public org.eclipse.wst.xsl.invoker.config.TransformDefinition fromXML(org.w3c.dom.Element transformEl)
Create a new instance of this from its serialized form.
transformEl - the element to create this from
org.eclipse.wst.xsl.invoker.config.TransformDefinition - a new instance of this
public java.util.Properties getOutputProperties()
Get the output properties for this.
java.util.Properties - the output properties
public java.util.Set getParameters()
The set of parameters
java.util.Set - a set of TypedValue's
public java.util.Map getParametersAsMap()
Get the parameters as a map of name (String) v. value TypedValue.
java.util.Map - a map of names and values
org.eclipse.wst.xsl.invoker.config.CreationException - if an exception occurred during object creation
public java.lang.String getResolverClass()
Get the name of the URIResolver class to use.
java.lang.String - the resolver's class name
public java.lang.String getStylesheetURL()
Get the URL of the stylesheet.
java.lang.String - the stylesheet URL
public void removeOutputProperty(java.lang.String name)
Remove an output property.
name - the output property to remove
public void removeParameter(org.eclipse.wst.xsl.invoker.config.TypedValue parameter)
Remove a parameter.
parameter - the parameter to remove
public void setOutputProperties(java.util.Properties outputProperties)
Set the output properties for this.
outputProperties - the output properties to set
public void setOutputProperty(java.lang.String name
,
java.lang.String value)
Set the value of a specific output property.
name - the output property
value - the value
public void setResolverClass(java.lang.String resolver)
Set the name of the URIResolver class to use.
resolver - the resolver's class name
public void setStylesheetURL(java.lang.String stylesheet)
Set the URL of the stylesheet.
stylesheet - the stylesheet URL