|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.DisplayableComponentNode<T>
com.sun.enterprise.deployment.node.BundleNode<Application>
com.sun.enterprise.deployment.node.ApplicationNode
public class ApplicationNode
This class is responsible for loading and saving XML elements
| Field Summary | |
|---|---|
static java.lang.String |
PUBLIC_DTD_ID
The public ID. |
static java.lang.String |
PUBLIC_DTD_ID_12
|
static java.lang.String |
SCHEMA_ID
|
static java.lang.String |
SCHEMA_ID_14
|
static java.lang.String |
SCHEMA_ID_15
|
static java.lang.String |
SPEC_VERSION
|
static java.lang.String |
SYSTEM_ID
The system ID. |
static java.lang.String |
SYSTEM_ID_12
|
static XMLElement |
tag
|
| Fields inherited from class com.sun.enterprise.deployment.node.BundleNode |
|---|
docType, SCHEMA_LOCATION_TAG, W3C_XML_SCHEMA, W3C_XML_SCHEMA_INSTANCE |
| Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
|---|
abstractDescriptor, handlers, localStrings, parentNode |
| Constructor Summary | |
|---|---|
ApplicationNode()
Creates new ApplicationNode |
|
| Method Summary | |
|---|---|
void |
addDescriptor(java.lang.Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode |
Application |
getDescriptor()
|
java.lang.String |
getDocType()
|
java.lang.String |
getSpecVersion()
|
java.lang.String |
getSystemID()
|
java.util.List<java.lang.String> |
getSystemIDs()
|
protected XMLElement |
getXMLRootTag()
|
static java.lang.String |
registerBundle(java.util.Map publicIDToDTD)
register this node as a root node capable of loading entire DD files |
void |
setElementValue(XMLElement element,
java.lang.String value)
receives notiification of the value for a particular tag |
org.w3c.dom.Node |
writeDescriptor(org.w3c.dom.Node parent,
Application application)
write the descriptor class to a DOM tree and return it |
| Methods inherited from class com.sun.enterprise.deployment.node.BundleNode |
|---|
addBundleNodeAttributes, addPrefixMapping, appendChildNS, getDispatchTable, getSchemaURL, setDocType, setSpecVersion, writeMessageDestinations |
| Methods inherited from class com.sun.enterprise.deployment.node.DisplayableComponentNode |
|---|
writeDisplayableComponentInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.deployment.node.XMLNode |
|---|
endElement, getHandlerFor, getParentNode, getXMLPath, handlesElement, resolvePrefix, startElement |
| Field Detail |
|---|
public static final java.lang.String PUBLIC_DTD_ID
public static final java.lang.String PUBLIC_DTD_ID_12
public static final java.lang.String SYSTEM_ID
public static final java.lang.String SYSTEM_ID_12
public static final java.lang.String SCHEMA_ID_14
public static final java.lang.String SCHEMA_ID_15
public static final java.lang.String SCHEMA_ID
public static final java.lang.String SPEC_VERSION
public static final XMLElement tag
| Constructor Detail |
|---|
public ApplicationNode()
| Method Detail |
|---|
public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
publicIDToDTD - is a mapping between xml Public-ID to DTD
protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<Application>
public void setElementValue(XMLElement element,
java.lang.String value)
setElementValue in interface XMLNode<Application>setElementValue in class BundleNode<Application>element - the xml elementvalue - it's associated valuepublic void addDescriptor(java.lang.Object newDescriptor)
addDescriptor in interface XMLNode<Application>addDescriptor in class DeploymentDescriptorNode<Application>newDescriptor - the new descriptorpublic Application getDescriptor()
getDescriptor in interface XMLNode<Application>getDescriptor in class DeploymentDescriptorNode<Application>public java.lang.String getDocType()
public java.lang.String getSystemID()
public java.util.List<java.lang.String> getSystemIDs()
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
Application application)
writeDescriptor in interface XMLNode<Application>writeDescriptor in class BundleNode<Application>parent - parent nodedescriptor - the descriptor to write
public java.lang.String getSpecVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||