|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xoe.core.dom.XNode | +--org.xoe.core.dom.ParentNode | +--org.xoe.core.dom.XElement | +--org.xoe.core.content.ContentElement | +--org.xoe.core.content.FileContentElement | +--org.xoe.core.content.StashDirectory
StashDirectory
is a simple DOM element that represents a
direcotory in the stash VFS. The fist time a directory is accessed
expand ()
will be called which triggers the reading of the
directories contents from the stash location on disk.
Field Summary | |
protected File |
file
The file on disk that the FileContentElement represents. |
Fields inherited from class org.xoe.core.content.ContentElement |
lastModified |
Fields inherited from class org.xoe.core.dom.XNode |
callbacks |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
org.w3c.dom.Node |
getFirstChild()
|
InputStream |
getInputStream()
Return an InputStream from the File. |
org.w3c.dom.Node |
getLastChild()
|
int |
getLength()
|
boolean |
hasChildNodes()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
org.w3c.dom.Node |
item(int index)
|
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
Methods inherited from class org.xoe.core.content.ContentElement |
clearCachedData, encodeName, getContentLength, getLastModified, getType, getURL, setLength |
Methods inherited from class org.xoe.core.dom.XElement |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagName, getElementsByTagNameNS, getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setNodeName, setPrefix |
Methods inherited from class org.xoe.core.dom.ParentNode |
getChildNodes, reset |
Methods inherited from class org.xoe.core.dom.XNode |
getCallback, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, isSupported, setCallback, setNodeValue, setParentNode, supports, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
getChildNodes, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, isSupported, setNodeValue |
Field Detail |
protected File file
Method Detail |
public org.w3c.dom.Node getFirstChild()
getFirstChild
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node getLastChild()
getLastChild
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.xoe.core.dom.DOMException
insertBefore
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.xoe.core.dom.DOMException
replaceChild
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.xoe.core.dom.DOMException
removeChild
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.xoe.core.dom.DOMException
appendChild
in class org.xoe.core.dom.ParentNode
public boolean hasChildNodes()
hasChildNodes
in class org.xoe.core.dom.ParentNode
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in class ContentElement
public org.w3c.dom.Node item(int index)
item
in class org.xoe.core.dom.ParentNode
public int getLength()
getLength
in class org.xoe.core.dom.ParentNode
public InputStream getInputStream()
getInputStream
in class ContentElement
org.xoe.core.content.ContentElement
IOException
- if an I/O error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |