| java.lang.Object org.objectweb.jonas_ws.wsgen.ddmodifier.DeploymentDescModifier
All known Subclasses: org.objectweb.jonas_ws.wsgen.ddmodifier.WsClientDDModifier, org.objectweb.jonas_ws.wsgen.ddmodifier.WebJettyDDModifier, org.objectweb.jonas_ws.wsgen.ddmodifier.WebServicesDDModifier, org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier, org.objectweb.jonas_ws.wsgen.ddmodifier.ContextDDModifier,
DeploymentDescModifier | public class DeploymentDescModifier (Code) | | Modify an Element from a Deployment Descriptor. Contains XML commons
utilities.
author: Guillaume Sauthier |
J2EE_NS | final protected static String J2EE_NS(Code) | | J2EE Default XML namespace
|
JONAS_NS | final protected static String JONAS_NS(Code) | | JOnAS Default XML namespace
|
DeploymentDescModifier | public DeploymentDescModifier(Element element, Document doc)(Code) | | Create a new DeploymentDescModifier to update the given Element.
Parameters: element - XML element to be modified. Parameters: doc - base document for Element creation. |
DeploymentDescModifier | public DeploymentDescModifier(Element element, Document doc, Element parent)(Code) | | Create a new DeploymentDescModifier to update the given Element.
Parameters: element - XML element to be modified. Parameters: doc - base document for Element creation. Parameters: parent - parent Element, used if element is null |
getLogger | public static Logger getLogger()(Code) | | Returns the logger. |
getParent | public Element getParent()(Code) | | Returns the parent (can be null). |
newElement | protected Element newElement(String name)(Code) | | Create a new Element with given name
Parameters: name - Element name the created Element |
newElement | protected Element newElement(String name, String text)(Code) | | Create a new Element with an inner Text Node.
Parameters: name - Element name Parameters: text - node's text the created Element |
newJ2EEElement | protected Element newJ2EEElement(String name)(Code) | | Create a new Element with given name in J2EE XML namespace.
Parameters: name - Element name the created Element |
newJ2EEElement | protected Element newJ2EEElement(String name, String text)(Code) | | Create a new Element with given name in J2EE XML namespace with an inner
Text Node.
Parameters: name - Element name Parameters: text - Element content the created Element |
newJOnASElement | protected Element newJOnASElement(String name)(Code) | | Create a new Element with given name in JOnAS XML namespace.
Parameters: name - Element name the created Element |
newJOnASElement | protected Element newJOnASElement(String name, String text)(Code) | | Create a new Element with given name in JOnAS XML namespace, with an
inner Text Node.
Parameters: name - Element name Parameters: text - node's text the created Element |
setDocument | public void setDocument(Document doc)(Code) | | Set the new document to use
Parameters: doc - the new document to use |
setElement | public void setElement(Element e)(Code) | | Set the new base Element to use
Parameters: e - the new base Element to use |
|
|