|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.generators.wsgen.ddmodifier.DeploymentDescModifier
public class DeploymentDescModifier
Modify an Element from a Deployment Descriptor. Contains XML commons utilities.
Field Summary | |
---|---|
protected static String |
J2EE_NS
J2EE Default XML namespace |
protected static String |
JONAS_NS
JOnAS Default XML namespace |
Constructor Summary | |
---|---|
DeploymentDescModifier(Element element,
Document doc)
Create a new DeploymentDescModifier to update the given Element. |
|
DeploymentDescModifier(Element element,
Document doc,
Element parent)
Create a new DeploymentDescModifier to update the given Element. |
Method Summary | |
---|---|
Document |
getDocument()
|
Element |
getElement()
|
static org.objectweb.util.monolog.api.Logger |
getLogger()
|
Element |
getParent()
|
protected Element |
newElement(String name)
Create a new Element with given name |
protected Element |
newElement(String name,
String text)
Create a new Element with an inner Text Node. |
protected Element |
newJ2EEElement(String name)
Create a new Element with given name in J2EE XML namespace. |
protected Element |
newJ2EEElement(String name,
String text)
Create a new Element with given name in J2EE XML namespace with an inner Text Node. |
protected Element |
newJOnASElement(String name)
Create a new Element with given name in JOnAS XML namespace. |
protected Element |
newJOnASElement(String name,
String text)
Create a new Element with given name in JOnAS XML namespace, with an inner Text Node. |
void |
setDocument(Document doc)
Set the new document to use |
void |
setElement(Element e)
Set the new base Element to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String J2EE_NS
protected static final String JONAS_NS
Constructor Detail |
---|
public DeploymentDescModifier(Element element, Document doc)
element
- XML element to be modified.doc
- base document for Element creation.public DeploymentDescModifier(Element element, Document doc, Element parent)
element
- XML element to be modified.doc
- base document for Element creation.parent
- parent Element, used if element is nullMethod Detail |
---|
protected Element newJ2EEElement(String name)
name
- Element name
protected Element newJ2EEElement(String name, String text)
name
- Element nametext
- Element content
protected Element newJOnASElement(String name)
name
- Element name
protected Element newJOnASElement(String name, String text)
name
- Element nametext
- node's text
protected Element newElement(String name)
name
- Element name
protected Element newElement(String name, String text)
name
- Element nametext
- node's text
public static org.objectweb.util.monolog.api.Logger getLogger()
public Element getParent()
public Element getElement()
public Document getDocument()
public void setDocument(Document doc)
doc
- the new document to usepublic void setElement(Element e)
e
- the new base Element to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |