public class LocalizedNode extends DeploymentDescriptorNode
Modifier and Type | Field and Description |
---|---|
protected String |
lang |
protected String |
localizedValue |
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
Constructor and Description |
---|
LocalizedNode() |
Modifier and Type | Method and Description |
---|---|
Object |
getDescriptor() |
void |
setElementValue(XMLElement element,
String value)
receives notification of the value for a particular tag
|
void |
startElement(XMLElement element,
Attributes attributes)
notification of element start with attributes.
|
void |
writeLocalizedMap(Node parentNode,
String tagName,
Map localizedMap)
writes all the localized map element usign the tagname with
the lang attribute to a DOM node
|
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, writeDescriptor, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
public Object getDescriptor()
getDescriptor
in interface XMLNode
getDescriptor
in class DeploymentDescriptorNode
public void startElement(XMLElement element, Attributes attributes)
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 DeploymentDescriptorNode
element
- the xml elementvalue
- it's associated valueCopyright © 2021. All rights reserved.