|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.votable.dom.DelegatingNode | +--uk.ac.starlink.votable.dom.DelegatingDocument | +--uk.ac.starlink.votable.VODocument
Document implementation which holds a VOTable-specific DOM.
The elements in it are all instances of VOElement
,
or of VOElement subclasses according to their element names,
that is any element with a tagname of "TABLE" in this DOM will be
an instance of the class TableElement
and so on.
Field Summary |
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 |
Constructor Summary | |
VODocument()
Constructs a new VODocument. |
|
VODocument(String systemId)
Constructs a new VODocument with a specified System ID. |
Method Summary | |
protected DelegatingElement |
createDelegatingElement(Element node)
|
DelegatingNode |
getDelegator(Node base)
|
Element |
getElementById(String elementId)
|
StoragePolicy |
getStoragePolicy()
Returns the storage policy used for storing bulk table data found as elements in the DOM into a usable form. |
String |
getSystemId()
Returns the system ID associated with this document. |
void |
setElementId(Element el,
String id)
Stores an element as the referent of a given ID string. |
void |
setStoragePolicy(StoragePolicy policy)
Sets the storage policy used for storing bulk table data found as elements in the DOM into a usable form. |
Methods inherited from class uk.ac.starlink.votable.dom.DelegatingNode |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
public VODocument(String systemId)
systemId
- system ID for the VOTable document represented by
this DOM (sometimes used for resolving URLs) - may be nullpublic VODocument()
Method Detail |
public String getSystemId()
public StoragePolicy getStoragePolicy()
public void setStoragePolicy(StoragePolicy policy)
StoragePolicy.PREFER_MEMORY
.
policy
- new policypublic void setElementId(Element el, String id)
getElementById(java.lang.String)
method.
public Element getElementById(String elementId)
getElementById
in interface Document
getElementById
in class DelegatingDocument
public DelegatingNode getDelegator(Node base)
getDelegator
in class DelegatingDocument
protected DelegatingElement createDelegatingElement(Element node)
createDelegatingElement
in class DelegatingDocument
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |