org.eclipse.jst.pagedesigner.dtmanager.converter.operations
Class TransformOperationFactory

java.lang.Object
  extended by org.eclipse.jst.pagedesigner.dtmanager.converter.operations.TransformOperationFactory

public class TransformOperationFactory
extends java.lang.Object

Factory responsible for producing ITransformOperation instances from a known set.

Provisional API - subject to change


Field Summary
static java.lang.String OP_AppendChildElementOperation
          AppendChildElementOperation
static java.lang.String OP_AppendChildTextFromXPathOperation
          AppendChildTextFromXPathOperation
static java.lang.String OP_AppendChildTextOperation
          AppendChildTextOperation
static java.lang.String OP_ConvertAttributeToTextOperation
          ConvertAttributeToTextOperation
static java.lang.String OP_CopyAllAttributesOperation
          CopyAllAttributesOperation
static java.lang.String OP_CopyAttributeOperation
          CopyAttributeOperation
static java.lang.String OP_CopyChildrenOperation
          CopyChildrenOperation
static java.lang.String OP_CreateAttributeFromXPathOperation
          CreateAttributeFromXPathOperation
static java.lang.String OP_CreateAttributeOperation
          CreateAttributeOperation
static java.lang.String OP_CreateElementOperation
          CreateElementOperation
static java.lang.String OP_CustomTransformOperation
          CustomTransformOperation
static java.lang.String OP_IfNotOperation
          IfNotOperation
static java.lang.String OP_IfOperation
          IfOperation
static java.lang.String OP_IterateOverElementsOperation
          IterateOverElementsOperation
static java.lang.String OP_MakeParentElementCurrentOperation
          MakeParentElementCurrentOperation
static java.lang.String OP_RemoveAttributeOperation
          RemoveAttributeOperation
static java.lang.String OP_RenameAttributeOperation
          RenameAttributeOperation
 
Method Summary
static TransformOperationFactory getInstance()
          Gets the singleton instance.
 ITransformOperation getTransformOperation(java.lang.String opID, java.lang.String[] params)
          Gets an ITransformOperation instance for the specified operation ID and parameters.
 ITransformOperation getTransformOperation(java.lang.String opID, java.lang.String[] params, Trait trait)
          Gets an ITransformOperation instance for the specified operation ID and parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OP_AppendChildElementOperation

public static final java.lang.String OP_AppendChildElementOperation
AppendChildElementOperation

See Also:
Constant Field Values

OP_AppendChildTextFromXPathOperation

public static final java.lang.String OP_AppendChildTextFromXPathOperation
AppendChildTextFromXPathOperation

See Also:
Constant Field Values

OP_AppendChildTextOperation

public static final java.lang.String OP_AppendChildTextOperation
AppendChildTextOperation

See Also:
Constant Field Values

OP_ConvertAttributeToTextOperation

public static final java.lang.String OP_ConvertAttributeToTextOperation
ConvertAttributeToTextOperation

See Also:
Constant Field Values

OP_CopyAllAttributesOperation

public static final java.lang.String OP_CopyAllAttributesOperation
CopyAllAttributesOperation

See Also:
Constant Field Values

OP_CopyAttributeOperation

public static final java.lang.String OP_CopyAttributeOperation
CopyAttributeOperation

See Also:
Constant Field Values

OP_CopyChildrenOperation

public static final java.lang.String OP_CopyChildrenOperation
CopyChildrenOperation

See Also:
Constant Field Values

OP_CreateAttributeFromXPathOperation

public static final java.lang.String OP_CreateAttributeFromXPathOperation
CreateAttributeFromXPathOperation

See Also:
Constant Field Values

OP_CreateAttributeOperation

public static final java.lang.String OP_CreateAttributeOperation
CreateAttributeOperation

See Also:
Constant Field Values

OP_CreateElementOperation

public static final java.lang.String OP_CreateElementOperation
CreateElementOperation

See Also:
Constant Field Values

OP_CustomTransformOperation

public static final java.lang.String OP_CustomTransformOperation
CustomTransformOperation

See Also:
Constant Field Values

OP_IfNotOperation

public static final java.lang.String OP_IfNotOperation
IfNotOperation

See Also:
Constant Field Values

OP_IfOperation

public static final java.lang.String OP_IfOperation
IfOperation

See Also:
Constant Field Values

OP_IterateOverElementsOperation

public static final java.lang.String OP_IterateOverElementsOperation
IterateOverElementsOperation

See Also:
Constant Field Values

OP_MakeParentElementCurrentOperation

public static final java.lang.String OP_MakeParentElementCurrentOperation
MakeParentElementCurrentOperation

See Also:
Constant Field Values

OP_RemoveAttributeOperation

public static final java.lang.String OP_RemoveAttributeOperation
RemoveAttributeOperation

See Also:
Constant Field Values

OP_RenameAttributeOperation

public static final java.lang.String OP_RenameAttributeOperation
RenameAttributeOperation

See Also:
Constant Field Values
Method Detail

getInstance

public static TransformOperationFactory getInstance()
Gets the singleton instance.

Returns:
The singleton instance.

getTransformOperation

public ITransformOperation getTransformOperation(java.lang.String opID,
                                                 java.lang.String[] params)
Gets an ITransformOperation instance for the specified operation ID and parameters.

Parameters:
opID - Operation ID.
params - Parameter array.
Returns:
ITransformOperation instance (may be null).

getTransformOperation

public ITransformOperation getTransformOperation(java.lang.String opID,
                                                 java.lang.String[] params,
                                                 Trait trait)
Gets an ITransformOperation instance for the specified operation ID and parameters.

Parameters:
opID - Operation ID.
params - Parameter array.
trait - Trait instance used for classloading of custom operations.
Returns:
ITransformOperation instance (may be null).