public class VersionXML
extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.Object> |
map |
Constructor and Description |
---|
VersionXML() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] text,
int start,
int length)
returns the value
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qname)
end of parsing
|
static java.util.HashMap<java.lang.String,java.lang.Object> |
isOKToGo(java.io.InputStream is)
method uses SAXParser to parse xml file to get the version
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qname,
org.xml.sax.Attributes attributes)
Starts the parsing
|
public static java.util.HashMap<java.lang.String,java.lang.Object> isOKToGo(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qname, org.xml.sax.Attributes attributes)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public void characters(char[] text, int start, int length)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qname)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler