public class DocumentNode extends EntryNode implements DocumentEntry, POIFSViewable
Modifier and Type | Field and Description |
---|---|
private POIFSDocument |
_document |
Constructor and Description |
---|
DocumentNode(DocumentProperty property,
DirectoryNode parent)
create a DocumentNode.
|
Modifier and Type | Method and Description |
---|---|
POIFSDocument |
getDocument()
get the POIFSDocument
|
String |
getShortDescription()
Provides a short description of the object, to be used when a
POIFSViewable object has not provided its contents.
|
int |
getSize()
get the zize of the document, in bytes
|
Object[] |
getViewableArray()
Get an array of objects, some of which may implement
POIFSViewable
|
Iterator |
getViewableIterator()
Get an Iterator of objects, some of which may implement
POIFSViewable
|
protected boolean |
isDeleteOK()
extensions use this method to verify internal rules regarding
deletion of the underlying store.
|
boolean |
isDocumentEntry()
is this a DocumentEntry?
|
boolean |
preferArray()
Give viewers a hint as to whether to call getViewableArray or
getViewableIterator
|
delete, getName, getParent, getProperty, isDirectoryEntry, isRoot, renameTo
private POIFSDocument _document
DocumentNode(DocumentProperty property, DirectoryNode parent)
property
- the DocumentProperty for this DocumentEntryparent
- the parent of this entrypublic POIFSDocument getDocument()
public int getSize()
getSize
in interface DocumentEntry
public boolean isDocumentEntry()
isDocumentEntry
in interface Entry
isDocumentEntry
in class EntryNode
protected boolean isDeleteOK()
isDeleteOK
in class EntryNode
public Object[] getViewableArray()
getViewableArray
in interface POIFSViewable
public Iterator getViewableIterator()
getViewableIterator
in interface POIFSViewable
public boolean preferArray()
preferArray
in interface POIFSViewable
public String getShortDescription()
getShortDescription
in interface POIFSViewable
Copyright © 2016 Open Microscopy Environment