Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.commons.operations
Class XSLTOperation

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.operations.TransformOperation
      extended by ro.sync.ecss.extensions.commons.operations.XSLTOperation
All Implemented Interfaces:
AuthorOperation, Extension

@API(type=INTERNAL,
     src=PUBLIC)
public class XSLTOperation
extends TransformOperation

An implementation of an operation to apply an XSLT stylesheet on a element and replacing it with the result of the XSLT transformation or inserting the result in the document.


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.commons.operations.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
 
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
 
Constructor Summary
XSLTOperation()
           
 
Method Summary
protected  javax.xml.transform.Transformer createTransformer(AuthorAccess authorAccess, javax.xml.transform.Source xslSrc)
          Create an XSLT transformer.
 java.lang.String getDescription()
           
 
Methods inherited from class ro.sync.ecss.extensions.commons.operations.TransformOperation
doOperation, getArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTOperation

public XSLTOperation()
Method Detail

createTransformer

protected javax.xml.transform.Transformer createTransformer(AuthorAccess authorAccess,
                                                            javax.xml.transform.Source xslSrc)
                                                     throws javax.xml.transform.TransformerConfigurationException
Create an XSLT transformer.

Specified by:
createTransformer in class TransformOperation
Parameters:
authorAccess - The Author Access.
xslSrc - The stylesheet source
Returns:
The transformer.
Throws:
javax.xml.transform.TransformerConfigurationException

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Extension
Overrides:
getDescription in class TransformOperation
Returns:
The description of the extension.
See Also:
Extension.getDescription()

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.