org.apache.env

Class WhichXmlCommons

public class WhichXmlCommons extends Object implements WhichProject

Get Version information about xml-commons code.

Version: $Id: WhichXmlCommons.java 225939 2001-12-11 17:42:50Z curcuru $

Author: shane_curcuru@us.ibm.com

Field Summary
static StringSERVICE_NAME
Our project name.
Method Summary
intgetDOMInfo(Hashtable hash, String options)
Gets DOM version info and looks for dom.jar.
intgetInfo(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.
intgetJAXPInfo(Hashtable hash, String options)
Gets JAXP version info and looks for jaxp.jar.
intgetSAXInfo(Hashtable hash, String options)
Gets SAX version info and looks for sax.jar.
intgetXmlCommonsInfo(Hashtable hash, String options)
Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.

Field Detail

SERVICE_NAME

public static final String SERVICE_NAME
Our project name.

Method Detail

getDOMInfo

public int getDOMInfo(Hashtable hash, String options)
Gets DOM version info and looks for dom.jar.

Parameters: hash to put information in options to apply like strict or verbose

Returns: 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.

Parameters: hash to put information in options to apply like strict or verbose

Returns: status information from WhichConstant

getJAXPInfo

public int getJAXPInfo(Hashtable hash, String options)
Gets JAXP version info and looks for jaxp.jar.

Parameters: hash to put information in options to apply like strict or verbose

Returns: status information from WhichConstant

getSAXInfo

public int getSAXInfo(Hashtable hash, String options)
Gets SAX version info and looks for sax.jar.

Parameters: hash to put information in options to apply like strict or verbose

Returns: status information from WhichConstant

getXmlCommonsInfo

public int getXmlCommonsInfo(Hashtable hash, String options)
Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.

Parameters: hash to put information in options to apply like strict or verbose

Returns: status information from WhichConstant

Copyright B) 2001 Apache. All Rights Reserved.