Modifier and Type | Method and Description |
---|---|
protected Element |
AbstractDescriptor.addElement(DescriptorTag tag,
Element child,
Element parent)
Adds an element of the specified tag to the descriptor.
|
protected void |
AbstractDescriptor.checkElement(Element element,
DescriptorTag expectedTag)
Checks an element whether its name matches the specified name.
|
protected Element |
AbstractDescriptor.createNestedText(DescriptorTag tag,
String text)
Creates an element that contains nested text.
|
protected String |
AbstractDescriptor.getChildText(Element parent,
DescriptorTag tag)
Returns the text value from a child directly under the parent tag.
|
Iterator |
AbstractDescriptor.getElements(DescriptorTag tag)
Returns an iterator over the elements that match the specified tag.
|
protected Element |
AbstractDescriptor.getImmediateChild(Element parent,
DescriptorTag tag)
Gets a certain tag directly under the parent tag.
|
protected Node |
AbstractDescriptor.getInsertionPointFor(DescriptorTag tag,
String parent)
Returns the node before which the specified tag should be inserted, or
null if
the node should be inserted at the end of the descriptor. |
protected Iterator |
AbstractDescriptor.getNestedElements(Element parent,
DescriptorTag tag)
Returns an iterator over the child elements of the specified element that match the specified
tag.
|
protected String |
AbstractDescriptor.getNestedText(Element parent,
DescriptorTag tag)
Returns the text nested inside a child element of the specified element.
|
Element |
AbstractDescriptor.replaceElement(DescriptorTag tag,
Element child,
Element parent)
Replaces all elements of the specified tag with the provided element.
|
Modifier and Type | Class and Description |
---|---|
class |
ApplicationXmlTag
Represents the various top-level tags in a enterprise application deployment descriptor as a
typesafe enumeration.
|
Modifier and Type | Class and Description |
---|---|
class |
EjbJarXmlTag
Represents the various tags in a ejb jar deployment descriptor.
|
Modifier and Type | Class and Description |
---|---|
class |
WeblogicEjbJarXmlTag
Represents the various tags in a weblogic ejb jar deployment descriptor.
|
Modifier and Type | Class and Description |
---|---|
class |
WebXmlTag
Represents the various top-level tags in a web deployment descriptor as a typesafe enumeration.
|
Modifier and Type | Method and Description |
---|---|
void |
WebXml.addRootElement(DescriptorTag tag,
Element element)
Adds an element of the specified tag to root of the descriptor.
|
void |
WebXml.replaceRootElement(DescriptorTag tag,
Element element)
Replaces all elements of the specified tag with the provided element.
|
Constructor and Description |
---|
TagNodeList(Element rootElement,
DescriptorTag tag,
Class clazz) |
Modifier and Type | Class and Description |
---|---|
class |
JBossWebXmlTag
Represents the various top-level tags in a JBoss web deployment descriptor
as a typesafe enumeration.
|
Modifier and Type | Class and Description |
---|---|
class |
ResinWebXmlTag
Represents the various top-level tags in a Resin context web deployment
descriptor as a typesafe enumeration.
|
Modifier and Type | Class and Description |
---|---|
class |
TomcatContextXmlTag
Represents the various top-level tags in a Tomcat context web deployment
descriptor as a typesafe enumeration.
|
Modifier and Type | Class and Description |
---|---|
class |
WeblogicXmlTag
Represents the various top-level tags in a web deployment descriptor as a typesafe enumeration.
|
Copyright © 2004-2013 Codehaus. All Rights Reserved.