com.sun.enterprise.universal.xml
Class XmlParserHelper

java.lang.Object
  extended by com.sun.enterprise.universal.xml.XmlParserHelper

public final class XmlParserHelper
extends java.lang.Object

A place to put all the ugly boiler plate for parsing an XML file.

Author:
Byron Nevins

Constructor Summary
XmlParserHelper(java.io.File f)
           
 
Method Summary
 javax.xml.stream.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
 

Constructor Detail

XmlParserHelper

public XmlParserHelper(java.io.File f)
                throws java.io.FileNotFoundException,
                       javax.xml.stream.XMLStreamException
Throws:
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException
Method Detail

get

public final javax.xml.stream.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.