Oxygen XML Editor 16.1 Author API

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

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

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

An implementation of an operation to apply an XQuery script on a element and replacing it with the result of the XQuery 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
XQueryOperation()
           
 
Method Summary
protected  javax.xml.transform.Transformer createTransformer(AuthorAccess authorAccess, javax.xml.transform.Source xquerySrc)
          Create XQuery 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

XQueryOperation

public XQueryOperation()
Method Detail

createTransformer

protected javax.xml.transform.Transformer createTransformer(AuthorAccess authorAccess,
                                                            javax.xml.transform.Source xquerySrc)
                                                     throws javax.xml.transform.TransformerConfigurationException
Create XQuery transformer

Specified by:
createTransformer in class TransformOperation
Parameters:
authorAccess - The author access.
xquerySrc - The XQuery 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 16.1 Author API

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