org.apache.env
Class WhichXmlCommons
java.lang.Object
|
+--org.apache.env.WhichXmlCommons
- All Implemented Interfaces:
- WhichProject
- public class WhichXmlCommons
- extends java.lang.Object
- implements WhichProject
Get Version information about xml-commons code.
- Version:
- $Id: WhichXmlCommons.java,v 1.1 2001/12/11 17:42:50 curcuru Exp $
- Author:
- shane_curcuru@us.ibm.com
Field Summary |
static java.lang.String |
SERVICE_NAME
Our project name. |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- Our project name.
WhichXmlCommons
public WhichXmlCommons()
getInfo
public 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. Looks for the
default xml-apis.jar with external standards code.
- Specified by:
getInfo
in interface WhichProject
- Parameters:
hash
- to put information inoptions
- to apply like strict or verbose- Returns:
- status information from WhichConstant
getXmlCommonsInfo
public int getXmlCommonsInfo(java.util.Hashtable hash,
java.lang.String options)
- Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.
- Parameters:
hash
- to put information inoptions
- to apply like strict or verbose- Returns:
- status information from WhichConstant
getJAXPInfo
public int getJAXPInfo(java.util.Hashtable hash,
java.lang.String options)
- Gets JAXP version info and looks for jaxp.jar.
- Parameters:
hash
- to put information inoptions
- to apply like strict or verbose- Returns:
- status information from WhichConstant
getSAXInfo
public int getSAXInfo(java.util.Hashtable hash,
java.lang.String options)
- Gets SAX version info and looks for sax.jar.
- Parameters:
hash
- to put information inoptions
- to apply like strict or verbose- Returns:
- status information from WhichConstant
getDOMInfo
public int getDOMInfo(java.util.Hashtable hash,
java.lang.String options)
- Gets DOM version info and looks for dom.jar.
- Parameters:
hash
- to put information inoptions
- to apply like strict or verbose- Returns:
- status information from WhichConstant
Copyright © 2001 Apache. All Rights Reserved.