|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.commons.operations.text.SelectedTextOperation
@API(type=INTERNAL, src=PUBLIC) public abstract class SelectedTextOperation
Provides upper case and lower case operations over a selected 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 | |
---|---|
SelectedTextOperation()
|
Method Summary | |
---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap arguments)
Process the selected text and make it lower case or upper case. |
ArgumentDescriptor[] |
getArguments()
|
protected abstract java.lang.String |
processText(java.lang.String text)
Process text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ro.sync.ecss.extensions.api.Extension |
---|
getDescription |
Constructor Detail |
---|
public SelectedTextOperation()
Method Detail |
---|
public ArgumentDescriptor[] getArguments()
getArguments
in interface AuthorOperation
ArgumentDescriptor
representing
the arguments this operation uses.AuthorOperation.getArguments()
public void doOperation(AuthorAccess authorAccess, ArgumentsMap arguments) throws java.lang.IllegalArgumentException, AuthorOperationException
doOperation
in interface AuthorOperation
authorAccess
- The author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.arguments
- The map of arguments. All the arguments defined by method
AuthorOperation.getArguments()
must be present in the map of arguments.
java.lang.IllegalArgumentException
- Thrown when one or more arguments are illegal.
AuthorOperationException
- Thrown when the operation fails.AuthorOperation.doOperation(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)
protected abstract java.lang.String processText(java.lang.String text)
text
- The text to be processed.
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |