/** Init document state */ protected void init(String initialContent) { indexed = DocProviders.POJO.parse(initialContent); // Get a mutable doc view of our target and hook it up with the // "remote" document as the sink of outgoing ops. doc = new MutableDocumentImpl<Node, Element, Text>( createSequencer(indexed), indexed); }
/** Init document state */ protected void init(String initialContent) { indexed = DocProviders.POJO.parse(initialContent); // Get a mutable doc view of our target and hook it up with the // "remote" document as the sink of outgoing ops. doc = new MutableDocumentImpl<Node, Element, Text>( createSequencer(indexed), indexed); }