public abstract class WebCommonNode<T extends WebBundleDescriptorImpl> extends AbstractBundleNode<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
descriptor |
static String |
SPEC_VERSION |
docType, SCHEMA_LOCATION_TAG, W3C_XML_SCHEMA, W3C_XML_SCHEMA_INSTANCEabstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator| Modifier | Constructor and Description |
|---|---|
protected |
WebCommonNode()
Creates new WebBundleNode
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptor(Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
|
boolean |
endElement(XMLElement element)
receives notification of the end of an XML element by the Parser
|
String |
getSpecVersion() |
void |
setElementValue(XMLElement element,
String value)
receives notiification of the value for a particular tag
|
Node |
writeDescriptor(Node parent,
T webBundleDesc)
write the descriptor class to a DOM tree and return it
|
addBundleNodeAttributes, addPrefixMapping, appendChildNS, elementsAllowingEmptyValue, elementsPreservingWhiteSpace, getDispatchTable, getSchemaURL, setDocType, setSpecVersion, topLevelTagName, topLevelTagValue, writeMessageDestinationswriteDisplayableComponentInfoaddNamespaceDeclaration, addNodeDescriptor, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, forceAppendTextChild, getDescriptor, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterBundle, registerRuntimeBundlegetDocType, getSystemID, getSystemIDsgetDescriptor, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix, startElementpublic static final String SPEC_VERSION
protected T extends WebBundleDescriptorImpl descriptor
public void addDescriptor(Object newDescriptor)
addDescriptor in interface XMLNode<T extends WebBundleDescriptorImpl>addDescriptor in class DeploymentDescriptorNode<T extends WebBundleDescriptorImpl>newDescriptor - the new descriptorpublic void setElementValue(XMLElement element, String value)
setElementValue in interface XMLNode<T extends WebBundleDescriptorImpl>setElementValue in class AbstractBundleNode<T extends WebBundleDescriptorImpl>element - the xml elementvalue - it's associated valuepublic boolean endElement(XMLElement element)
endElement in interface XMLNode<T extends WebBundleDescriptorImpl>endElement in class DeploymentDescriptorNode<T extends WebBundleDescriptorImpl>element - the xml tag identificationpublic Node writeDescriptor(Node parent, T webBundleDesc)
writeDescriptor in interface XMLNode<T extends WebBundleDescriptorImpl>writeDescriptor in class AbstractBundleNode<T extends WebBundleDescriptorImpl>parent - node for the DOM treewebBundleDesc - descriptor to writepublic String getSpecVersion()
Copyright © 2019. All rights reserved.