org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier Class Reference

Inherited by org.objectweb.jonas_ws.wsgen.ddmodifier.WebServicesDDModifier, org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier, and org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.

Inheritance diagram for org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DeploymentDescModifier (Element element, Document doc)
 DeploymentDescModifier (Element element, Document doc, Element parent)
Element getParent ()
Element getElement ()
Document getDocument ()
void setDocument (Document doc)
void setElement (Element e)

Static Public Member Functions

Logger getLogger ()

Protected Member Functions

Element newJ2EEElement (String name)
Element newJ2EEElement (String name, String text)
Element newJOnASElement (String name)
Element newJOnASElement (String name, String text)

Static Protected Attributes

final String J2EE_NS = "http://java.sun.com/xml/ns/j2ee"
final String JONAS_NS = "http://www.objectweb.org/jonas/ns"

Detailed Description

Modify an Element from a Deployment Descriptor. Contains XML commons utilities.

Author:
Guillaume Sauthier

Definition at line 41 of file DeploymentDescModifier.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.DeploymentDescModifier Element  element,
Document  doc
 

Create a new DeploymentDescModifier to update the given Element.

Parameters:
element XML element to be modified.
doc base document for Element creation.

Definition at line 67 of file DeploymentDescModifier.java.

org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.DeploymentDescModifier Element  element,
Document  doc,
Element  parent
 

Create a new DeploymentDescModifier to update the given Element.

Parameters:
element XML element to be modified.
doc base document for Element creation.
parent parent Element, used if element is null

Definition at line 78 of file DeploymentDescModifier.java.


Member Function Documentation

Document org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.getDocument  ) 
 

Returns:
Returns the document.

Definition at line 164 of file DeploymentDescModifier.java.

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.getElement  ) 
 

Returns:
Returns the element.

Definition at line 157 of file DeploymentDescModifier.java.

Referenced by org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addEjbLocalRef(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addEjbRef(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier.addJonasInitParam(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addServlet(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addServletMapping(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier.hasJonasServiceRef(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.removeServlet(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.removeServletMapping(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.removeServletWithSecurity(), and org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.updateSecurityConstraint().

Logger org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.getLogger  )  [static]
 

Returns:
Returns the logger.

Definition at line 143 of file DeploymentDescModifier.java.

Referenced by org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.removeServletMapping().

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.getParent  ) 
 

Returns:
Returns the parent (can be null).

Definition at line 150 of file DeploymentDescModifier.java.

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.newJ2EEElement String  name,
String  text
[protected]
 

Create a new Element with given name in J2EE XML namespace with an inner Text Node.

Parameters:
name Element name
text Element content
Returns:
the created Element

Definition at line 104 of file DeploymentDescModifier.java.

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.newJ2EEElement String  name  )  [protected]
 

Create a new Element with given name in J2EE XML namespace.

Parameters:
name Element name
Returns:
the created Element

Definition at line 91 of file DeploymentDescModifier.java.

Referenced by org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addEjbLocalRef(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addEjbRef(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addServlet(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addServletMapping(), org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier.addServletParam(), and org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier.createJonasServiceRef().

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.newJOnASElement String  name,
String  text
[protected]
 

Create a new Element with given name in JOnAS XML namespace, with an inner Text Node.

Parameters:
name Element name
text node's text
Returns:
the created Element

Definition at line 132 of file DeploymentDescModifier.java.

Element org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.newJOnASElement String  name  )  [protected]
 

Create a new Element with given name in JOnAS XML namespace.

Parameters:
name Element name
Returns:
the created Element

Definition at line 119 of file DeploymentDescModifier.java.

Referenced by org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier.addJonasInitParam(), and org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier.createJonasServiceRef().

void org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.setDocument Document  doc  ) 
 

Set the new document to use

Parameters:
doc the new document to use

Definition at line 172 of file DeploymentDescModifier.java.

void org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.setElement Element  e  ) 
 

Set the new base Element to use

Parameters:
e the new base Element to use

Definition at line 181 of file DeploymentDescModifier.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.ews.EWSWsClientGenerator.addFiles(), and org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator.addFiles().


Member Data Documentation

final String org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.J2EE_NS = "http://java.sun.com/xml/ns/j2ee" [static, protected]
 

J2EE Default XML namespace

Definition at line 44 of file DeploymentDescModifier.java.

final String org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier.JONAS_NS = "http://www.objectweb.org/jonas/ns" [static, protected]
 

JOnAS Default XML namespace

Definition at line 47 of file DeploymentDescModifier.java.


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