Class JnlpDocNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
-
- com.sun.enterprise.deployment.node.runtime.JnlpDocNode
-
- All Implemented Interfaces:
XMLNode<JavaWebStartAccessDescriptor>
public class JnlpDocNode extends DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
Represents the jnlp-doc node under java-web-start-access. We need this node in order to support thenotation. The DTD file describes the href attribute although the doc has not historically mentioned it. Instead the doc has said to place the path to the custom JNLP as the text value of the element. - Author:
- tjquinn
-
-
Field Summary
Fields Modifier and Type Field Description protected JavaWebStartAccessDescriptor
descriptor
-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description JnlpDocNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaWebStartAccessDescriptor
getDescriptor()
protected boolean
setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
parsed an attribute of an elementvoid
setElementValue(XMLElement element, String value)
receives notification of the value for a particular tag-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
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, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
-
-
-
Field Detail
-
descriptor
protected JavaWebStartAccessDescriptor descriptor
-
-
Method Detail
-
getDescriptor
public JavaWebStartAccessDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceXMLNode<JavaWebStartAccessDescriptor>
- Overrides:
getDescriptor
in classDeploymentDescriptorNode<JavaWebStartAccessDescriptor>
- Returns:
- the descriptor instance to associate with this XMLNode
-
setAttributeValue
protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
Description copied from class:DeploymentDescriptorNode
parsed an attribute of an element- Overrides:
setAttributeValue
in classDeploymentDescriptorNode<JavaWebStartAccessDescriptor>
- Parameters:
elementName
- the element nameattributeName
- the attribute namevalue
- the attribute value- Returns:
- true if the attribute was processed
-
setElementValue
public void setElementValue(XMLElement element, String value)
Description copied from class:DeploymentDescriptorNode
receives notification of the value for a particular tag- Specified by:
setElementValue
in interfaceXMLNode<JavaWebStartAccessDescriptor>
- Overrides:
setElementValue
in classDeploymentDescriptorNode<JavaWebStartAccessDescriptor>
- Parameters:
element
- the xml elementvalue
- it's associated value
-
-