@API(type=INTERNAL, src=PUBLIC) public class XSLTOperation extends TransformOperation
ACTION_AT_CARET, ACTION_INSERT_AFTER, ACTION_INSERT_AS_FIRST_CHILD, ACTION_INSERT_AS_LAST_CHILD, ACTION_INSERT_BEFORE, ACTION_REPLACE, ARGUMENT_SCRIPT, CARET_POSITION_AFTER, CARET_POSITION_BEFORE, CARET_POSITION_EDITABLE, CARET_POSITION_END, CARET_POSITION_PRESERVE, CARET_POSITION_START, CURRENT_ELEMENT_LOCATION
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
XSLTOperation() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canTreatAsScript(java.lang.String script) |
protected javax.xml.transform.Transformer |
createTransformer(AuthorAccess authorAccess,
javax.xml.transform.Source xslSrc)
Create an XSLT transformer.
|
java.lang.String |
getDescription() |
doOperation, getArguments
protected javax.xml.transform.Transformer createTransformer(AuthorAccess authorAccess, javax.xml.transform.Source xslSrc) throws javax.xml.transform.TransformerConfigurationException
createTransformer
in class TransformOperation
authorAccess
- The Author Access.xslSrc
- The stylesheet sourcejavax.xml.transform.TransformerConfigurationException
public java.lang.String getDescription()
getDescription
in interface Extension
getDescription
in class TransformOperation
Extension.getDescription()
protected boolean canTreatAsScript(java.lang.String script)
canTreatAsScript
in class TransformOperation
script
- The value of the script parameter.true
if this is an actual script or false
if it isn't.TransformOperation.canTreatAsScript(java.lang.String)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.