public class CacheMappingNode extends RuntimeDescriptorNode<CacheMapping>
| Modifier and Type | Field and Description |
|---|---|
protected CacheMapping |
descriptor |
abstractDescriptor, habitat, handlers, localStrings, parentNode, rootNode| Constructor and Description |
|---|
CacheMappingNode() |
| Modifier and Type | Method and Description |
|---|---|
CacheMapping |
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.
|
void |
startElement(XMLElement element,
Attributes attributes)
SAX Parser API implementation, we don't really care for now.
|
Node |
writeDescriptor(Node parent,
String nodeName,
CacheMapping descriptor)
write the descriptor class to a DOM tree and return it
|
createDescriptor, setElementValue, writeCommonComponentInfo, writeMessageDestinationInfoaddDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptorsprotected CacheMapping descriptor
public CacheMapping getDescriptor()
getDescriptor in interface XMLNode<CacheMapping>getDescriptor in class RuntimeDescriptorNode<CacheMapping>protected Map<String,String> getDispatchTable()
getDispatchTable in class DeploymentDescriptorNode<CacheMapping>public void startElement(XMLElement element, Attributes attributes)
DeploymentDescriptorNodestartElement in interface XMLNode<CacheMapping>startElement in class DeploymentDescriptorNode<CacheMapping>element - the XML element type nameattributes - the specified or defaultted attritutespublic Node writeDescriptor(Node parent, String nodeName, CacheMapping descriptor)
writeDescriptor in class DeploymentDescriptorNode<CacheMapping>parent - node for the DOM treenode - namethe - descriptor to writeCopyright © 2017. All rights reserved.