public class ConstraintFieldNode extends RuntimeDescriptorNode<ConstraintField>
| Modifier and Type | Field and Description |
|---|---|
protected ConstraintField |
descriptor |
abstractDescriptor, habitat, handlers, localStrings, parentNode, rootNode| Constructor and Description |
|---|
ConstraintFieldNode() |
| Modifier and Type | Method and Description |
|---|---|
ConstraintField |
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,
ConstraintField descriptor)
write the descriptor class to a DOM tree and return it
|
void |
writeDescriptor(Node parent,
String nodeName,
ConstraintField[] descriptors)
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 ConstraintField descriptor
public ConstraintField getDescriptor()
getDescriptor in interface XMLNode<ConstraintField>getDescriptor in class RuntimeDescriptorNode<ConstraintField>protected Map<String,String> getDispatchTable()
getDispatchTable in class DeploymentDescriptorNode<ConstraintField>public void startElement(XMLElement element, Attributes attributes)
DeploymentDescriptorNodestartElement in interface XMLNode<ConstraintField>startElement in class DeploymentDescriptorNode<ConstraintField>element - the XML element type nameattributes - the specified or defaultted attritutespublic void writeDescriptor(Node parent, String nodeName, ConstraintField[] descriptors)
parent - node for the DOM treenode - namethe - array of descriptor to writepublic Node writeDescriptor(Node parent, String nodeName, ConstraintField descriptor)
writeDescriptor in class DeploymentDescriptorNode<ConstraintField>parent - node for the DOM treenodeName - node namedescriptor - the descriptor to writeCopyright © 2017. All rights reserved.