public class XSLProcessor extends MSXMLScriptable
Constructor and Description |
---|
XSLProcessor() |
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, setParentScope
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, put, setClassName
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
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–2019 Gargoyle Software Inc.. All rights reserved.