|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.schemaaware.SchemaAwareHandlerResultsImpl
public class SchemaAwareHandlerResultsImpl
Default implementation for SchemaAwareHandlerResult
}.
Field Summary |
---|
Fields inherited from interface ro.sync.ecss.extensions.api.schemaaware.SchemaAwareHandlerResult |
---|
TYPE_HANDLE_DELETE_ELEMENT_TAGS_OPERATION, TYPE_HANDLE_DELETE_OPERATION, TYPE_HANDLE_DELETE_SELECTION_OPERATION, TYPE_HANDLE_INSERT_FRAGMENT_OPERATION, TYPE_HANDLE_JOIN_ELEMENTS_OPERATION, TYPE_HANDLE_TYPING_OPERATION |
Fields inherited from interface ro.sync.ecss.extensions.api.schemaaware.SchemaAwareHandlerResultInsertConstants |
---|
RESULT_ID_HANDLE_INSERT_FRAGMENT_OFFSET |
Constructor Summary | |
---|---|
SchemaAwareHandlerResultsImpl(java.lang.String operationID)
|
Method Summary | |
---|---|
void |
addResult(java.lang.String resultKey,
java.lang.Object resultValue)
Add result. |
java.lang.Object |
getResult(java.lang.String resultId)
Get the result for the given id. |
java.lang.String |
getType()
The type of operation that generated the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaAwareHandlerResultsImpl(java.lang.String operationID)
operationID
- One of SchemaAwareHandlerResult.TYPE_HANDLE_INSERT_FRAGMENT_OPERATION
for insert fragment operation or
SchemaAwareHandlerResult.TYPE_HANDLE_TYPING_OPERATION
for typing operation.Method Detail |
---|
public void addResult(java.lang.String resultKey, java.lang.Object resultValue)
resultKey
- The result key. Constants are defined in SchemaAwareHandlerResult
}.resultValue
- The result value.public java.lang.Object getResult(java.lang.String resultId)
SchemaAwareHandlerResult
getResult
in interface SchemaAwareHandlerResult
resultId
- One of the constants defined in this interface.
null
for an unknown result id.SchemaAwareHandlerResult.getResult(java.lang.String)
public java.lang.String getType()
SchemaAwareHandlerResult
SchemaAwareHandlerResult.getResult(String)
method.
Possible values are:
SchemaAwareHandlerResult.TYPE_HANDLE_DELETE_ELEMENT_TAGS_OPERATION
for delete element tags operation,
see AuthorSchemaAwareEditingHandler.handleDeleteElementTags(ro.sync.ecss.extensions.api.node.AuthorNode, AuthorAccess)
;SchemaAwareHandlerResult.TYPE_HANDLE_DELETE_OPERATION
for a keyboard delete operation,
see AuthorSchemaAwareEditingHandler.handleDelete(int, int, AuthorAccess, boolean)
;SchemaAwareHandlerResult.TYPE_HANDLE_DELETE_SELECTION_OPERATION
for delete selection operation,
see AuthorSchemaAwareEditingHandler.handleDeleteSelection(int, int, int, AuthorAccess)
;SchemaAwareHandlerResult.TYPE_HANDLE_JOIN_ELEMENTS_OPERATION
for join elements operation,
see AuthorSchemaAwareEditingHandler.handleJoinElements(ro.sync.ecss.extensions.api.node.AuthorNode, java.util.List, AuthorAccess)
;SchemaAwareHandlerResult.TYPE_HANDLE_INSERT_FRAGMENT_OPERATION
for insert fragment operation,
see AuthorSchemaAwareEditingHandler.handlePasteFragment(int, ro.sync.ecss.extensions.api.node.AuthorDocumentFragment[], int, AuthorAccess)
;SchemaAwareHandlerResult.TYPE_HANDLE_TYPING_OPERATION
for typing operation,
see AuthorSchemaAwareEditingHandler.handleTyping(int, char, AuthorAccess)
.
getType
in interface SchemaAwareHandlerResult
SchemaAwareHandlerResult.getType()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |