public class XSLProcessor extends MSXMLScriptable
| Constructor and Description |
|---|
XSLProcessor()
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String baseName,
Object parameter,
Object namespaceURI)
Adds parameters into an XSL Transformations (XSLT) style sheet.
|
XMLDOMNode |
getInput()
Returns which XML input tree to transform.
|
Object |
getOutput()
Gets a custom output to write the result of the transformation.
|
void |
importStylesheet(XMLDOMNode style)
Imports the specified stylesheet into this XSLTProcessor for transformations.
|
void |
setInput(XMLDOMNode input)
Specifies which XML input tree to transform.
|
void |
setOutput(Object output)
Sets the object to which to write the output of the transformation.
|
void |
transform()
Starts the transformation process or resumes a previously failed transformation.
|
getClassName, getEnvironment, getPrototype, isReadOnlySettable, makeScriptableFor, setEnvironment, setParentScopeclone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, setCaseSensitive, setDomNode, setDomNode, setHtmlElementapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setPrototype, sizepublic XSLProcessor()
public void setInput(XMLDOMNode input)
input - the input treepublic XMLDOMNode getInput()
public void setOutput(Object output)
output - the object to which to write the output of the transformationpublic Object getOutput()
public void addParameter(String baseName, Object parameter, Object namespaceURI)
baseName - the name that will be used inside the style sheet to identify the parameter contextparameter - the parameter value
To remove a parameter previously added to the processor, provide a value of Empty or Null instead.namespaceURI - an optional namespacepublic void transform()
public void importStylesheet(XMLDOMNode style)
style - the root-node of an XSLT stylesheet (may be a document node or an element node)Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.