|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
edu.ucsb.nceas.morpho.datapackage.wizard.PackageWizardParser
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the Package Wizard
Constructor Summary | |
PackageWizardParser(java.io.FileReader xml,
java.lang.String parserName)
|
Method Summary | |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
XMLElement |
getDoc()
Returns the document as an XMLElement object. |
java.lang.String |
getDoctype()
Returns the public identifier of the doctype that this config file represents |
java.lang.String |
getDtd()
Returns the path to the dtd that this config file represents |
java.lang.String |
getRoot()
Returns the public identifier of the doctype that this config file represents |
static void |
main(java.lang.String[] args)
|
void |
printDoc(XMLElement e)
prints a string representation of the doc object |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
This method is called whenever a new start tag is encountered. |
Constructor Detail |
public PackageWizardParser(java.io.FileReader xml, java.lang.String parserName)
xml
- a FileReader object that reprents a stream of XMLparserName
- the fully specifified parser name to be used in
processingMethod Detail |
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
public XMLElement getDoc()
public java.lang.String getDtd()
public java.lang.String getDoctype()
public java.lang.String getRoot()
public void printDoc(XMLElement e)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |