it.eng.geo.document
Interface XMLDocumentIFace

All Known Implementing Classes:
AbstractXMLDocument, CrimsonXMLDocument, XercesXMLDocument

public interface XMLDocumentIFace


Method Summary
 void addValue(java.lang.String path, java.lang.String key, java.lang.String value)
           
 void addValue(java.lang.String path, java.lang.String key, java.lang.String value, java.lang.String[] attributeNames, java.lang.String[] attributeValues)
           
 void appendChild(org.w3c.dom.Node newNode, java.lang.String path)
           
 void createDocument(byte[] document)
           
 org.w3c.dom.Document getDocument()
           
 java.lang.String getDocumentAsXMLString()
           
 org.w3c.dom.Element getDocumentElement()
           
 org.w3c.dom.Element getElemetByID(java.lang.String id)
           
 java.lang.String getValue(java.lang.String key)
           
 java.lang.String[] getValues(java.lang.String key)
           
 void removeKey(java.lang.String key)
           
 int setValue(java.lang.String key, java.lang.String value)
           
 

Method Detail

createDocument

void createDocument(byte[] document)
                    throws XMLDocumentException
Throws:
XMLDocumentException

getDocument

org.w3c.dom.Document getDocument()

getElemetByID

org.w3c.dom.Element getElemetByID(java.lang.String id)
                                  throws XMLDocumentException
Throws:
XMLDocumentException

getDocumentAsXMLString

java.lang.String getDocumentAsXMLString()
                                        throws XMLDocumentException
Throws:
XMLDocumentException

getValue

java.lang.String getValue(java.lang.String key)
                          throws XMLDocumentException
Throws:
XMLDocumentException

getDocumentElement

org.w3c.dom.Element getDocumentElement()
                                       throws XMLDocumentException
Throws:
XMLDocumentException

getValues

java.lang.String[] getValues(java.lang.String key)
                             throws XMLDocumentException
Throws:
XMLDocumentException

setValue

int setValue(java.lang.String key,
             java.lang.String value)
             throws XMLDocumentException
Throws:
XMLDocumentException

removeKey

void removeKey(java.lang.String key)
               throws XMLDocumentException
Throws:
XMLDocumentException

addValue

void addValue(java.lang.String path,
              java.lang.String key,
              java.lang.String value)
              throws XMLDocumentException
Throws:
XMLDocumentException

addValue

void addValue(java.lang.String path,
              java.lang.String key,
              java.lang.String value,
              java.lang.String[] attributeNames,
              java.lang.String[] attributeValues)
              throws XMLDocumentException
Throws:
XMLDocumentException

appendChild

void appendChild(org.w3c.dom.Node newNode,
                 java.lang.String path)
                 throws XMLDocumentException
Throws:
XMLDocumentException