org.ow2.jonas.deployment.common
Class CommonsDTDs

java.lang.Object
  extended by org.ow2.jonas.deployment.common.CommonsDTDs
All Implemented Interfaces:
DTDs
Direct Known Subclasses:
AppClientDTDs, ConnectorDTDs, EarDTDs, EjbjarDTDs, JonasAppClientDTDs, JonasConnectorDTDs, JonasEjbjarDTDs, JonasWebAppDTDs, WebAppDTDs

public abstract class CommonsDTDs
extends Object
implements DTDs

This class defines the declarations of defaults DTDs used for J2EE 1.4 and less

Author:
Florent Benoit

Constructor Summary
CommonsDTDs()
          Build a new object for DTDs handling.
 
Method Summary
protected  void addMapping(String[] dtds, String[] publicIds)
          Add to the list of DTDS the given dtds/publicId.
 Map getMapping()
          Gets the mapping between publicIds and DTDs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsDTDs

public CommonsDTDs()
Build a new object for DTDs handling.

Method Detail

getMapping

public Map getMapping()
Gets the mapping between publicIds and DTDs.

Specified by:
getMapping in interface DTDs
Returns:
the mapping between publicIds and DTDs.

addMapping

protected void addMapping(String[] dtds,
                          String[] publicIds)
Add to the list of DTDS the given dtds/publicId.

Parameters:
dtds - array of dtds
publicIds - array of publicIds


Copyright © 2010 OW2 Consortium. All Rights Reserved.