public class WebBundleRuntimeNode extends RuntimeBundleNode<WebBundleDescriptorImpl>
descriptor, elementToNodeMappingsabstractDescriptor, habitat, handlers, localStrings, parentNode, rootNode| Constructor and Description |
|---|
WebBundleRuntimeNode()
Creates new WebBundleRuntimeNode
|
WebBundleRuntimeNode(WebBundleDescriptorImpl descriptor)
Creates new WebBundleRuntimeNode
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptor(Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
|
String |
getDocType() |
Object |
getSunDescriptor() |
String |
getSystemID() |
List<String> |
getSystemIDs() |
protected XMLElement |
getXMLRootTag() |
protected void |
init()
Initialize the child handlers
|
static String |
registerBundle(Map<String,String> publicIDToDTD,
Map<String,List<Class>> versionUpgrades)
register this node as a root node capable of loading entire DD files
|
protected boolean |
setAttributeValue(XMLElement elementName,
XMLElement attributeName,
String value)
parsed an attribute of an element
|
void |
setElementValue(XMLElement element,
String value)
receives notification of the value for a particular tag
|
void |
startElement(XMLElement element,
Attributes attributes)
SAX Parser API implementation, we don't really care for now.
|
Node |
writeDescriptor(Node parent,
WebBundleDescriptorImpl bundleDescriptor)
write the descriptor class to a DOM tree and return it
|
appendChildNS, getDescriptor, getDispatchTable, getNodeMappings, getSpecVersion, recordNodeMapping, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfoaddNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setDescriptorInfo, setParentNode, setXMLRootTag, 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, waitaddPrefixMapping, endElement, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefixpublic WebBundleRuntimeNode(WebBundleDescriptorImpl descriptor)
descriptor - public WebBundleRuntimeNode()
protected void init()
init in class RuntimeBundleNode<WebBundleDescriptorImpl>protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<WebBundleDescriptorImpl>public String getDocType()
public String getSystemID()
public static String registerBundle(Map<String,String> publicIDToDTD, Map<String,List<Class>> versionUpgrades)
publicIDToDTD - is a mapping between xml Public-ID to DTDversionUpgrades - The list of upgrades from older versions
to the latest schemapublic Object getSunDescriptor()
public void addDescriptor(Object newDescriptor)
addDescriptor in interface XMLNode<WebBundleDescriptorImpl>addDescriptor in class RuntimeBundleNode<WebBundleDescriptorImpl>newDescriptor - the new descriptorpublic void startElement(XMLElement element, Attributes attributes)
DeploymentDescriptorNodestartElement in interface XMLNode<WebBundleDescriptorImpl>startElement in class DeploymentDescriptorNode<WebBundleDescriptorImpl>element - the XML element type nameattributes - the specified or defaultted attritutesprotected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
setAttributeValue in class DeploymentDescriptorNode<WebBundleDescriptorImpl>elementName - the element nameattributeName - the attribute namevalue - the attribute valuepublic void setElementValue(XMLElement element, String value)
setElementValue in interface XMLNode<WebBundleDescriptorImpl>setElementValue in class RuntimeBundleNode<WebBundleDescriptorImpl>element - the xml elementvalue - it's associated valuepublic Node writeDescriptor(Node parent, WebBundleDescriptorImpl bundleDescriptor)
writeDescriptor in interface XMLNode<WebBundleDescriptorImpl>writeDescriptor in class DeploymentDescriptorNode<WebBundleDescriptorImpl>parent - node for the DOM treebundleDescriptor - the descriptor to writeCopyright © 2017. All rights reserved.