|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.xml.AbstractXMLDocument
| Field Summary | |
static java.lang.String |
EMPTY_STRING
|
protected java.util.List |
myColumnList
|
protected int |
myCount
|
protected java.util.Map |
myDBElementsMap
|
protected org.w3c.dom.Document |
myDocument
|
protected java.util.Map |
myIDs
|
protected java.lang.String |
myPoundString
|
protected java.util.List |
myRowList
|
static java.lang.String |
POUND_SIGN
|
| Constructor Summary | |
AbstractXMLDocument()
AbstractXMLDocument Constructor. |
|
AbstractXMLDocument(boolean usePoundSign)
AbstractXMLDocument Constructor. |
|
AbstractXMLDocument(java.io.File file)
AbstractXMLDocument Constructor. |
|
AbstractXMLDocument(java.lang.String filename)
AbstractXMLDocument Constructor. |
|
| Method Summary | |
protected org.w3c.dom.Element |
createDBElement(DBElement element)
|
protected void |
createProperties(java.lang.String subType,
java.lang.Object value,
org.w3c.dom.Element properties)
|
protected org.w3c.dom.Element |
createTableDBElement(DBElement element)
|
protected AlleleList |
getAlleleList(org.w3c.dom.Node node)
|
protected DBElement |
getDBElement(org.w3c.dom.Element node)
|
protected java.util.List |
getDBElements(org.w3c.dom.Element groupNode,
GDPCTag groupTag)
|
org.w3c.dom.Document |
getDocument()
Returns the DOM document. |
protected Identifier |
getIdentifier(org.w3c.dom.Node node)
|
protected java.util.Map |
getProperties(org.w3c.dom.Node node,
GDPCTag parentTag)
|
static java.lang.String |
getTextFromNode(org.w3c.dom.Node node)
|
void |
write(java.lang.String filename)
Writes this XML document to the specified file. |
void |
write(java.io.Writer writer)
Writes this XML document to the specified writer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String EMPTY_STRING
public static final java.lang.String POUND_SIGN
protected org.w3c.dom.Document myDocument
protected int myCount
protected java.util.Map myIDs
protected java.util.List myRowList
protected java.util.List myColumnList
protected java.util.Map myDBElementsMap
protected java.lang.String myPoundString
| Constructor Detail |
public AbstractXMLDocument(java.lang.String filename)
public AbstractXMLDocument(java.io.File file)
public AbstractXMLDocument(boolean usePoundSign)
public AbstractXMLDocument()
| Method Detail |
protected org.w3c.dom.Element createTableDBElement(DBElement element)
protected void createProperties(java.lang.String subType,
java.lang.Object value,
org.w3c.dom.Element properties)
protected org.w3c.dom.Element createDBElement(DBElement element)
protected java.util.List getDBElements(org.w3c.dom.Element groupNode,
GDPCTag groupTag)
protected DBElement getDBElement(org.w3c.dom.Element node)
protected java.util.Map getProperties(org.w3c.dom.Node node,
GDPCTag parentTag)
protected AlleleList getAlleleList(org.w3c.dom.Node node)
protected Identifier getIdentifier(org.w3c.dom.Node node)
public static java.lang.String getTextFromNode(org.w3c.dom.Node node)
public void write(java.lang.String filename)
write in interface XMLDocumentfilename - name of filepublic org.w3c.dom.Document getDocument()
getDocument in interface XMLDocumentpublic void write(java.io.Writer writer)
write in interface XMLDocumentwriter - writer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||