public class WebResourceCollectionNode extends DeploymentDescriptorNode<WebResourceCollectionImpl>
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
Constructor and Description |
---|
WebResourceCollectionNode() |
Modifier and Type | Method and Description |
---|---|
WebResourceCollectionImpl |
getDescriptor() |
protected Map<String,String> |
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.
|
protected XMLElement |
getXMLRootTag() |
void |
setElementValue(XMLElement element,
String value)
receives notiification of the value for a particular tag
|
Node |
writeDescriptor(Node parent,
String nodeName,
WebResourceCollectionImpl descriptor)
write the descriptor class to a DOM tree and return it
|
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, 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, writeSubDescriptors
public WebResourceCollectionImpl getDescriptor()
getDescriptor
in interface XMLNode<WebResourceCollectionImpl>
getDescriptor
in class DeploymentDescriptorNode<WebResourceCollectionImpl>
protected XMLElement getXMLRootTag()
getXMLRootTag
in class DeploymentDescriptorNode<WebResourceCollectionImpl>
protected Map<String,String> getDispatchTable()
getDispatchTable
in class DeploymentDescriptorNode<WebResourceCollectionImpl>
public void setElementValue(XMLElement element, String value)
setElementValue
in interface XMLNode<WebResourceCollectionImpl>
setElementValue
in class DeploymentDescriptorNode<WebResourceCollectionImpl>
element
- the xml elementvalue
- it's associated valuepublic Node writeDescriptor(Node parent, String nodeName, WebResourceCollectionImpl descriptor)
writeDescriptor
in class DeploymentDescriptorNode<WebResourceCollectionImpl>
parent
- node in the DOM treenodeName
- node name for the root element of this xml fragmentdescriptor
- the descriptor to writeCopyright © 2019. All rights reserved.