org.objectweb.jonas_lib.deployment.api.CommonsSchemas Class Reference

Inherits org.objectweb.jonas_lib.deployment.api.Schemas.

Inheritance diagram for org.objectweb.jonas_lib.deployment.api.CommonsSchemas:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_lib.deployment.api.CommonsSchemas:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommonsSchemas ()
List getlocalSchemas ()

Static Public Member Functions

String getHeaderForElement (String element, String[] schemas)

Static Protected Member Functions

void addSchemas (String[] schemas) throws IllegalStateException

Detailed Description

This class defines the declarations of the default J2EE 1.4 Schemas
Author:
Florent Benoit

Definition at line 39 of file CommonsSchemas.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.api.CommonsSchemas.CommonsSchemas  ) 
 

Build a new object for Schemas handling

Definition at line 66 of file CommonsSchemas.java.

References org.objectweb.jonas_lib.deployment.api.CommonsSchemas.addSchemas().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_lib.deployment.api.CommonsSchemas.addSchemas String[]  schemas  )  throws IllegalStateException [static, protected]
 

Add to our repository the given local schemas

Parameters:
schemas schemas to add to the repository
Exceptions:
IllegalStateException if the dtds is not found as resource

Definition at line 85 of file CommonsSchemas.java.

Referenced by org.objectweb.jonas_lib.deployment.api.CommonsSchemas.CommonsSchemas().

String org.objectweb.jonas_lib.deployment.api.CommonsSchemas.getHeaderForElement String  element,
String[]  schemas
[static]
 

Parameters:
element name of the root element (jonas-ejb-jar, ...)
schemas array of Schemas (to be always up to date)
Returns:
a header for the right element with last element

Definition at line 101 of file CommonsSchemas.java.

List org.objectweb.jonas_lib.deployment.api.CommonsSchemas.getlocalSchemas  ) 
 

Gets the URLs of the local schemas

Returns:
the URLs of the local schemas

Implements org.objectweb.jonas_lib.deployment.api.Schemas.

Definition at line 75 of file CommonsSchemas.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:12 2005 for JOnAS by  doxygen 1.3.9.1