protected static class Schematic.EditorImpl extends ObservableDocumentEditor implements Editor
Editor.ObserverDocument.Field, Document.ValueTransformerfactory| Constructor and Description |
|---|
Schematic.EditorImpl(MutableDocument document,
DocumentObserver observer,
List<Operation> operations) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Changes changes)
After making changes to another document, apply the same changes to this document.
|
void |
apply(Changes changes,
Editor.Observer observer)
After making changes to another document, apply the same changes to this document.
|
Changes |
getChanges()
Get the changes that have been made to this document.
|
copy, createEditableArray, createEditableDocument, doSetAllValues, doSetAllValues, doSetValue, doSetValueIfAbsent, remove, removeAllasMutableDocument, clone, containsAll, containsField, editable, editable, fields, get, getArray, getBinary, getBoolean, getBoolean, getCode, getCodeWithScope, getDocument, getDouble, getDouble, getInteger, getInteger, getLong, getLong, getMaxKey, getMinKey, getNumber, getNumber, getObjectId, getOrCreateArray, getOrCreateDocument, getPattern, getString, getString, getSymbol, getType, getUuid, getUuid, isEmpty, isNull, isNullOrMissing, keySet, merge, put, putAll, putAll, set, setArray, setArray, setArray, setBinary, setBoolean, setCode, setCode, setDate, setDate, setDocument, setDocument, setNull, setNumber, setNumber, setNumber, setNumber, setObjectId, setObjectId, setObjectId, setRegularExpression, setRegularExpression, setString, setSymbol, setTimestamp, setUuid, size, toMap, toString, unwrap, with, with, with, withVariablesReplaced, withVariablesReplacedWithSystemPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArray, getDocument, getOrCreateArray, getOrCreateDocument, merge, putAll, putAll, remove, removeAll, set, setArray, setArray, setArray, setBinary, setBoolean, setCode, setCode, setDate, setDate, setDocument, setDocument, setNull, setNumber, setNumber, setNumber, setNumber, setObjectId, setObjectId, setObjectId, setRegularExpression, setRegularExpression, setString, setSymbol, setTimestamp, setUuid, unwrapclone, containsAll, containsField, fields, get, getBinary, getBoolean, getBoolean, getCode, getCodeWithScope, getDouble, getDouble, getInteger, getInteger, getLong, getLong, getMaxKey, getMinKey, getNumber, getNumber, getObjectId, getPattern, getString, getString, getSymbol, getType, getUuid, getUuid, isEmpty, isNull, isNullOrMissing, keySet, size, toMap, with, with, with, withVariablesReplaced, withVariablesReplacedWithSystemPropertiespublic Schematic.EditorImpl(MutableDocument document, DocumentObserver observer, List<Operation> operations)
public Changes getChanges()
EditorgetChanges in interface Editorpublic void apply(Changes changes)
Editorapply in interface Editorchanges - the changes that are to be applied to this document; may not be nullEditor.apply(Changes, Observer)public void apply(Changes changes, Editor.Observer observer)
Editorapply in interface Editorchanges - the changes that are to be applied to this document; may not be nullobserver - an observer that will be called as changes are undone; may be nullEditor.apply(Changes)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.