@Service public class JaxrpcMappingDescriptorNode extends AbstractBundleNode
Modifier and Type | Field and Description |
---|---|
static XMLElement |
ROOT_ELEMENT |
static String |
SCHEMA_ID |
docType, SCHEMA_LOCATION_TAG, W3C_XML_SCHEMA, W3C_XML_SCHEMA_INSTANCE
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
Constructor and Description |
---|
JaxrpcMappingDescriptorNode() |
Modifier and Type | Method and Description |
---|---|
Object |
getDescriptor() |
String |
getDocType() |
protected String |
getSchemaURL() |
String |
getSpecVersion() |
String |
getSystemID() |
List<String> |
getSystemIDs() |
protected XMLElement |
getXMLRootTag() |
String |
registerBundle(Map<String,String> publicIDToSystemIDMapping)
Registers the standard bundle node in the map.
|
Map<String,Class<?>> |
registerRuntimeBundle(Map<String,String> publicIDToDTD,
Map<String,List<Class<?>>> versionUpgrades)
Registers all appropriate runtime bundle nodes for this standard node into the map.
|
void |
setElementValue(XMLElement element,
String value)
receives notiification of the value for a particular tag
|
void |
startElement(XMLElement element,
Attributes attributes)
SAX Parser API implementation, we don't really care for now.
|
addBundleNodeAttributes, addPrefixMapping, appendChildNS, elementsAllowingEmptyValue, elementsPreservingWhiteSpace, getDispatchTable, setDocType, setSpecVersion, topLevelTagName, topLevelTagValue, writeDescriptor, writeMessageDestinations
writeDisplayableComponentInfo
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, 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, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDescriptor, endElement, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix
public static final XMLElement ROOT_ELEMENT
public static final String SCHEMA_ID
public String registerBundle(Map<String,String> publicIDToSystemIDMapping)
BundleNode
The implementation class must add to the map an entry with the key equal to the public ID of the DTD and the value the system ID.
publicIDToSystemIDMapping
- map prepared by the callerpublic Map<String,Class<?>> registerRuntimeBundle(Map<String,String> publicIDToDTD, Map<String,List<Class<?>>> versionUpgrades)
BundleNode
The implementation class must add to the map one entry for each associated runtime descriptor node, with the entry key equal to the public ID of the runtime DTD and the value the system ID of the runtime DTD. The implementation must also return a map containing one entry for each associated runtime node, with the entry key equal to the top-level element name for the runtime descriptor and the entry value equal to the class of the runtime node.
versionUpgrades
- The list of upgrades from older versions to the latest schemaprotected XMLElement getXMLRootTag()
getXMLRootTag
in class DeploymentDescriptorNode
public String getDocType()
public String getSystemID()
public List<String> getSystemIDs()
protected String getSchemaURL()
getSchemaURL
in class AbstractBundleNode
public Object getDescriptor()
getDescriptor
in interface XMLNode
getDescriptor
in class DeploymentDescriptorNode
public void startElement(XMLElement element, Attributes attributes)
DeploymentDescriptorNode
startElement
in interface XMLNode
startElement
in class DeploymentDescriptorNode
element
- the XML element type nameattributes
- the specified or defaultted attritutespublic void setElementValue(XMLElement element, String value)
setElementValue
in interface XMLNode
setElementValue
in class AbstractBundleNode
element
- the xml elementvalue
- it's associated valuepublic String getSpecVersion()
Copyright © 2021. All rights reserved.