Class ToUpperCaseOperation
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
-
- 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
Constructors Constructor Description ToUpperCaseOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
processText
protected java.lang.String processText(java.lang.String text)
Processes the selected text and makes it uppercase.- Specified by:
processText
in classSelectedTextOperation
- Parameters:
text
- The text to be processed.- Returns:
- The text after process.
-
getArguments
public ArgumentDescriptor[] getArguments()
No operation arguments necessary.- Specified by:
getArguments
in interfaceAuthorOperation
- Overrides:
getArguments
in classSelectedTextOperation
- 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()
-
-