Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.commons.operations.text
Class ToUpperCaseOperation

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
      extended by ro.sync.ecss.extensions.commons.operations.text.ToUpperCaseOperation
All Implemented Interfaces:
AuthorOperation, Extension

@API(type=INTERNAL,
     src=PUBLIC)
public class ToUpperCaseOperation
extends SelectedTextOperation

Provides an operation to convert the text from a selection into upper case text.


Field Summary
 
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
 
Constructor Summary
ToUpperCaseOperation()
           
 
Method Summary
 ArgumentDescriptor[] getArguments()
          No operation arguments necessary.
 java.lang.String getDescription()
           
protected  java.lang.String processText(java.lang.String text)
          Processes the selected text and makes it uppercase.
 
Methods inherited from class ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
doOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToUpperCaseOperation

public ToUpperCaseOperation()
Method Detail

processText

protected java.lang.String processText(java.lang.String text)
Processes the selected text and makes it uppercase.

Specified by:
processText in class SelectedTextOperation
Parameters:
text - The text to be processed.
Returns:
The text after process.

getArguments

public ArgumentDescriptor[] getArguments()
No operation arguments necessary.

Specified by:
getArguments in interface AuthorOperation
Overrides:
getArguments in class SelectedTextOperation
Returns:
An array of ArgumentDescriptor representing the arguments this operation uses.
See Also:
AuthorOperation.getArguments()

getDescription

public java.lang.String getDescription()
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.