530531532533534535536
* * @param id the identifier of the document; may not be null * @return the document writer; never null */ protected DocumentWriter newDocument( String id ) { return new FederatedDocumentWriter(translator).setId(id); }
540541542543544545546
* * @param document the document that should be updated; may not be null * @return the document writer; never null */ protected DocumentWriter writeDocument( Document document ) { return new FederatedDocumentWriter(translator, document); }
551552553554555556557
* * @param pageKey the key for the page; may not be null * @return the page writer; never null */ protected PageWriter newPageDocument( PageKey pageKey ) { return new FederatedDocumentWriter(translator).setId(pageKey.toString()); }