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, renameToprivate 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 DocumentEntrypublic boolean isDocumentEntry()
isDocumentEntry in interface EntryisDocumentEntry in class EntryNodeprotected boolean isDeleteOK()
isDeleteOK in class EntryNodepublic Object[] getViewableArray()
getViewableArray in interface POIFSViewablepublic Iterator getViewableIterator()
getViewableIterator in interface POIFSViewablepublic boolean preferArray()
preferArray in interface POIFSViewablepublic String getShortDescription()
getShortDescription in interface POIFSViewableCopyright © 2015 Open Microscopy Environment