Package org.glassfish.flashlight.xml
Class ProbeProviderStaxParser
- java.lang.Object
-
- org.glassfish.flashlight.xml.StaxParser
-
- org.glassfish.flashlight.xml.ProbeProviderStaxParser
-
public class ProbeProviderStaxParser extends StaxParser
Read the XML file, parse it and return a list of ProbeProvider objects- Author:
- bnevins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.flashlight.xml.StaxParser
StaxParser.EndDocumentException
-
-
Field Summary
Fields Modifier and Type Field Description static LocalStringManagerImpl
localStrings
-
Fields inherited from class org.glassfish.flashlight.xml.StaxParser
parser
-
-
Constructor Summary
Constructors Constructor Description ProbeProviderStaxParser(File f)
ProbeProviderStaxParser(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Provider>
getProviders()
protected void
read()
-
Methods inherited from class org.glassfish.flashlight.xml.StaxParser
close, next, nextStart, parseAttributes, skipPast, skipTo
-
-
-
-
Field Detail
-
localStrings
public static final LocalStringManagerImpl localStrings
-
-
Constructor Detail
-
ProbeProviderStaxParser
public ProbeProviderStaxParser(File f) throws XMLStreamException
- Throws:
XMLStreamException
-
ProbeProviderStaxParser
public ProbeProviderStaxParser(InputStream in) throws XMLStreamException
- Throws:
XMLStreamException
-
-
Method Detail
-
read
protected void read() throws XMLStreamException, StaxParser.EndDocumentException
- Specified by:
read
in classStaxParser
- Throws:
XMLStreamException
StaxParser.EndDocumentException
-
-