org.codehaus.cargo.module
Interface Descriptor

All Known Subinterfaces:
J2eeDescriptor, VendorDescriptor, VendorEjbDescriptor, VendorWebAppDescriptor
All Known Implementing Classes:
AbstractDescriptor, ApplicationXml, EjbJarXml, IbmEjbJarBndXmi, IbmWebBndXmi, JBossWebXml, OrionEjbJarXml, OrionWebXml, ResinWebXml, TomcatContextXml, WeblogicEjbJarXml, WeblogicXml, WebXml

public interface Descriptor

Common interface for Deployment Descriptors.

Version:
$Id: Descriptor.java 1115 2006-07-21 19:42:13Z vmassol $

Method Summary
 org.w3c.dom.Document getDocument()
          Returns the DOM Document that this Descriptor holds as its internal XML representation.
 java.lang.String getFileName()
          Returns the file name of this descriptor.
 

Method Detail

getDocument

org.w3c.dom.Document getDocument()
Returns the DOM Document that this Descriptor holds as its internal XML representation.

Returns:
the DOM document

getFileName

java.lang.String getFileName()
Returns the file name of this descriptor. For example "web.xml", "weblogic.xml", etc.

Returns:
the file name


Copyright © 2004-2011 Codehaus. All Rights Reserved.