com.sun.enterprise.universal.xml
Class XmlParserHelper
java.lang.Object
com.sun.enterprise.universal.xml.XmlParserHelper
public final class XmlParserHelper
- extends Object
A place to put all the ugly boiler plate for parsing an XML file.
- Author:
- Byron Nevins
|
Method Summary |
XMLStreamReader |
get()
|
void |
stop()
Don't forget to call this method when finished!
Closes the parser and the stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlParserHelper
public XmlParserHelper(File f)
throws FileNotFoundException,
XMLStreamException
- Throws:
FileNotFoundException
XMLStreamException
get
public final XMLStreamReader get()
stop
public final void stop()
- Don't forget to call this method when finished!
Closes the parser and the stream
Copyright © 2012 GlassFish Community. All Rights Reserved.