org.apache.env
Class WhichXmlCommons
java.lang.Objectorg.apache.env.WhichXmlCommons
- WhichProject
public class WhichXmlCommons
extends java.lang.Object
Get Version information about xml-commons code.
$Id: WhichXmlCommons.java,v 1.1 2001/12/11 17:42:50 curcuru Exp $
int | getDOMInfo(Hashtable hash, String options)- Gets DOM version info and looks for dom.jar.
|
int | getInfo(Hashtable hash, 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(Hashtable hash, String options)- Gets JAXP version info and looks for jaxp.jar.
|
int | getSAXInfo(Hashtable hash, String options)- Gets SAX version info and looks for sax.jar.
|
int | getXmlCommonsInfo(Hashtable hash, String options)- Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.
|
SERVICE_NAME
public static final String SERVICE_NAME
Our project name.
getDOMInfo
public int getDOMInfo(Hashtable hash,
String options) Gets DOM version info and looks for dom.jar.
hash - to put information inoptions - to apply like strict or verbose
- status information from WhichConstant
getInfo
public int getInfo(Hashtable hash,
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. Looks for the
default xml-apis.jar with external standards code.
- getInfo in interface WhichProject
hash - to put information inoptions - to apply like strict or verbose
- status information from WhichConstant
getJAXPInfo
public int getJAXPInfo(Hashtable hash,
String options) Gets JAXP version info and looks for jaxp.jar.
hash - to put information inoptions - to apply like strict or verbose
- status information from WhichConstant
getSAXInfo
public int getSAXInfo(Hashtable hash,
String options) Gets SAX version info and looks for sax.jar.
hash - to put information inoptions - to apply like strict or verbose
- status information from WhichConstant
getXmlCommonsInfo
public int getXmlCommonsInfo(Hashtable hash,
String options) Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.
hash - to put information inoptions - to apply like strict or verbose
- status information from WhichConstant
Copyright B) 2001 Apache. All Rights Reserved.