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
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 -
Method Summary
Modifier and TypeMethodDescriptionNo operation arguments necessary.protected String
processText
(String text) Processes the selected text and makes it uppercase.Methods inherited from class ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
doOperation
-
Constructor Details
-
ToUpperCaseOperation
public ToUpperCaseOperation()
-
-
Method Details
-
processText
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
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:
-
getDescription
- Returns:
- The description of the extension.
- See Also:
-