com.sun.enterprise.universal.xml
Class XmlParserHelper

java.lang.Object
  extended by 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

Constructor Summary
XmlParserHelper(File f)
           
 
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
 

Constructor Detail

XmlParserHelper

public XmlParserHelper(File f)
                throws FileNotFoundException,
                       XMLStreamException
Throws:
FileNotFoundException
XMLStreamException
Method Detail

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.