Class ToLowerCaseOperation
- java.lang.Object
-
- ro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
-
- ro.sync.ecss.extensions.commons.operations.text.ToLowerCaseOperation
-
- All Implemented Interfaces:
AuthorOperation
,Extension
@API(type=INTERNAL, src=PUBLIC) public class ToLowerCaseOperation extends SelectedTextOperation
Provides an operation to convert the text from a selection into lower 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 ToLowerCaseOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentDescriptor[]
getArguments()
No arguments necessary.java.lang.String
getDescription()
protected java.lang.String
processText(java.lang.String text)
Processes text and makes it lower cased.-
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 text and makes it lower cased.- Specified by:
processText
in classSelectedTextOperation
- Parameters:
text
- The text to be processed.- Returns:
- The text after process.
-
getArguments
public ArgumentDescriptor[] getArguments()
No 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()
-
-