|
||||||||||
| 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<ConnectorDescriptor>
com.sun.enterprise.deployment.node.connector.ConnectorNode
public class ConnectorNode
The top connector node class
| Field Summary | |
|---|---|
static java.lang.String |
PUBLIC_DTD_ID
|
static java.lang.String |
PUBLIC_DTD_ID_10
|
static java.lang.String |
PUBLIC_DTD_ID_15
|
static java.lang.String |
PUBLIC_DTD_ID_16
|
static java.lang.String |
SCHEMA_ID
|
static java.lang.String |
SCHEMA_ID_15
|
static java.lang.String |
SCHEMA_ID_16
|
static java.lang.String |
SPEC_VERSION
|
static java.lang.String |
SYSTEM_ID
|
static java.lang.String |
SYSTEM_ID_10
|
static java.lang.String |
SYSTEM_ID_15
|
static java.lang.String |
SYSTEM_ID_16
|
static XMLElement |
tag
|
static java.lang.String |
VERSION_10
|
static java.lang.String |
VERSION_15
|
static java.lang.String |
VERSION_16
|
| 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 | |
|---|---|
ConnectorNode()
|
|
| Method Summary | |
|---|---|
void |
addDescriptor(java.lang.Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode |
ConnectorDescriptor |
getDescriptor()
|
protected java.util.Map |
getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value. |
java.lang.String |
getDocType()
|
XMLNode |
getHandlerFor(XMLElement element)
Return the XMLNode implementation respionsible for handling the sub-element of the current node |
protected java.lang.String |
getSchemaURL()
|
java.lang.String |
getSpecVersion()
|
java.lang.String |
getSystemID()
|
java.util.List<java.lang.String> |
getSystemIDs()
|
protected XMLElement |
getXMLRootTag()
|
boolean |
handlesElement(XMLElement element)
Return true if the XMLNode is responisble for handling the XML element |
static java.lang.String |
registerBundle(java.util.Map publicIDToDTD)
register this node as a root node capable of loading entire DD files |
protected boolean |
setAttributeValue(XMLElement elementName,
XMLElement attributeName,
java.lang.String value)
parsed an attribute of an element |
void |
setElementValue(XMLElement element,
java.lang.String value)
receives notification of the value for a particular tag |
org.w3c.dom.Node |
writeDescriptor(org.w3c.dom.Node parent,
ConnectorDescriptor conDesc)
write the descriptor class to a DOM tree and return it |
| Methods inherited from class com.sun.enterprise.deployment.node.BundleNode |
|---|
addBundleNodeAttributes, addPrefixMapping, appendChildNS, 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, getParentNode, getXMLPath, resolvePrefix, startElement |
| Field Detail |
|---|
public static final java.lang.String VERSION_10
public static final java.lang.String VERSION_15
public static final java.lang.String VERSION_16
public static final java.lang.String PUBLIC_DTD_ID_10
public static final java.lang.String SYSTEM_ID_10
public static final java.lang.String PUBLIC_DTD_ID_15
public static final java.lang.String SYSTEM_ID_15
public static final java.lang.String SCHEMA_ID_15
public static final java.lang.String PUBLIC_DTD_ID_16
public static final java.lang.String SYSTEM_ID_16
public static final java.lang.String SCHEMA_ID_16
public static final java.lang.String PUBLIC_DTD_ID
public static final java.lang.String SYSTEM_ID
public static final java.lang.String SCHEMA_ID
public static final java.lang.String SPEC_VERSION
public static final XMLElement tag
| Constructor Detail |
|---|
public ConnectorNode()
| Method Detail |
|---|
public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
publicIDToDTD - is a mapping between xml Public-ID to DTD
public ConnectorDescriptor getDescriptor()
getDescriptor in interface XMLNode<ConnectorDescriptor>getDescriptor in class DeploymentDescriptorNode<ConnectorDescriptor>
protected boolean setAttributeValue(XMLElement elementName,
XMLElement attributeName,
java.lang.String value)
setAttributeValue in class DeploymentDescriptorNode<ConnectorDescriptor>the - element namethe - attribute namethe - attribute value
public void setElementValue(XMLElement element,
java.lang.String value)
setElementValue in interface XMLNode<ConnectorDescriptor>setElementValue in class BundleNode<ConnectorDescriptor>element - the xml elementvalue - it's associated valuepublic boolean handlesElement(XMLElement element)
XMLNode
handlesElement in interface XMLNode<ConnectorDescriptor>handlesElement in class DeploymentDescriptorNode<ConnectorDescriptor>element - the XML element type name
public XMLNode getHandlerFor(XMLElement element)
XMLNode
getHandlerFor in interface XMLNode<ConnectorDescriptor>getHandlerFor in class DeploymentDescriptorNode<ConnectorDescriptor>element - the XML element type name
protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<ConnectorDescriptor>public void addDescriptor(java.lang.Object newDescriptor)
addDescriptor in interface XMLNode<ConnectorDescriptor>addDescriptor in class DeploymentDescriptorNode<ConnectorDescriptor>descriptor - the new descriptorprotected java.util.Map getDispatchTable()
getDispatchTable in class BundleNode<ConnectorDescriptor>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,
ConnectorDescriptor conDesc)
writeDescriptor in interface XMLNode<ConnectorDescriptor>writeDescriptor in class BundleNode<ConnectorDescriptor>parent - node for the DOM treethe - descriptor to write
public java.lang.String getSpecVersion()
protected java.lang.String getSchemaURL()
getSchemaURL in class BundleNode<ConnectorDescriptor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||