org.apache.cactus.integration.ant.deployment
Interface WarArchive

All Superinterfaces:
JarArchive
All Known Implementing Classes:
DefaultWarArchive

public interface WarArchive
extends JarArchive

Encapsulates access to a WAR.

Since:
Cactus 1.5
Version:
$Id: WarArchive.java,v 1.5.2.1 2003/10/25 17:22:05 vmassol Exp $
Author:
Vincent Massol

Method Summary
 WebXml getWebXml()
          Returns the deployment descriptor of the web application.
 
Methods inherited from interface org.apache.cactus.integration.ant.deployment.JarArchive
containsClass, findResource, getResource, getResources
 

Method Detail

getWebXml

public WebXml getWebXml()
                 throws java.io.IOException,
                        org.xml.sax.SAXException,
                        javax.xml.parsers.ParserConfigurationException
Returns the deployment descriptor of the web application.

Returns:
The parsed deployment descriptor
Throws:
java.io.IOException - If there was a problem reading the deployment descriptor in the WAR
org.xml.sax.SAXException - If the deployment descriptor of the WAR could not be parsed
javax.xml.parsers.ParserConfigurationException - If there is an XML parser configration problem


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.