org.apache.env
public class WhichXmlCommons extends java.lang.Object implements WhichProject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Our project name.
|
Constructor and Description |
---|
WhichXmlCommons() |
Modifier and Type | Method and Description |
---|---|
int |
getDOMInfo(java.util.Hashtable hash,
java.lang.String options)
Gets DOM version info and looks for dom.jar.
|
int |
getInfo(java.util.Hashtable hash,
java.lang.String options)
Gets information on external standards code in xml-commons
project; finds the xml-commons version as well as the
approximate versions of JAXP, DOM and SAX.
|
int |
getJAXPInfo(java.util.Hashtable hash,
java.lang.String options)
Gets JAXP version info and looks for jaxp.jar.
|
int |
getSAXInfo(java.util.Hashtable hash,
java.lang.String options)
Gets SAX version info and looks for sax.jar.
|
int |
getXmlCommonsInfo(java.util.Hashtable hash,
java.lang.String options)
Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.
|
public static final java.lang.String SERVICE_NAME
public int getInfo(java.util.Hashtable hash, java.lang.String options)
getInfo
in interface WhichProject
hash
- to put information inoptions
- to apply like strict or verbosepublic int getXmlCommonsInfo(java.util.Hashtable hash, java.lang.String options)
hash
- to put information inoptions
- to apply like strict or verbosepublic int getJAXPInfo(java.util.Hashtable hash, java.lang.String options)
hash
- to put information inoptions
- to apply like strict or verbosepublic int getSAXInfo(java.util.Hashtable hash, java.lang.String options)
hash
- to put information inoptions
- to apply like strict or verbosepublic int getDOMInfo(java.util.Hashtable hash, java.lang.String options)
hash
- to put information inoptions
- to apply like strict or verboseCopyright ? 2001 Apache Software Foundation. All Rights Reserved.