public class TypedExportedDocumentImpl extends ExportedDocumentImpl
blobs, document, documents, id, path, srcLocation
Constructor and Description |
---|
TypedExportedDocumentImpl() |
TypedExportedDocumentImpl(DocumentModel doc)
Instantiates a new typed exported document impl.
|
TypedExportedDocumentImpl(DocumentModel doc,
boolean inlineBlobs)
Instantiates a new typed exported document impl.
|
TypedExportedDocumentImpl(DocumentModel doc,
Path path,
boolean inlineBlobs)
Instantiates a new typed exported document impl.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getSimpleTypeId(Type type)
Gets the simple type id.
|
protected void |
readProperty(org.dom4j.Element parent,
Namespace targetNs,
Field field,
Object value,
boolean inlineBlobs)
Here we do what super does but add the "type" attribute to the XML elements.
|
getBlob, getBlobs, getDocument, getDocument, getDocuments, getFilesCount, getId, getPath, getSourceLocation, getType, hasExternalBlobs, putBlob, putDocument, readACP, readBlob, readComplex, readDocument, readDocumentSchemas, readFacets, readLifeCycleInfo, readList, removeBlob, removeDocument, setDocument, setId, setPath
public TypedExportedDocumentImpl()
public TypedExportedDocumentImpl(DocumentModel doc, Path path, boolean inlineBlobs) throws IOException
doc
- the docpath
- the path to use for this document this is used to remove full pathsinlineBlobs
- the inline blobsIOException
- Signals that an I/O exception has occurred.public TypedExportedDocumentImpl(DocumentModel doc) throws IOException
doc
- the docIOException
- Signals that an I/O exception has occurred.public TypedExportedDocumentImpl(DocumentModel doc, boolean inlineBlobs) throws IOException
doc
- the docinlineBlobs
- the inline blobsIOException
- Signals that an I/O exception has occurred.protected void readProperty(org.dom4j.Element parent, Namespace targetNs, Field field, Object value, boolean inlineBlobs) throws IOException
readProperty
in class ExportedDocumentImpl
IOException
protected String getSimpleTypeId(Type type)
type
- the typeCopyright © 2018 Nuxeo. All rights reserved.