Class ValveNode
- java.lang.Object
-
- com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
-
- com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode<Valve>
-
- org.glassfish.web.deployment.node.runtime.gf.ValveNode
-
public class ValveNode extends RuntimeDescriptorNode<Valve>
Node representing a valve tag.
-
-
Field Summary
Fields Modifier and Type Field Description protected Valve
descriptor
-
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator
-
-
Constructor Summary
Constructors Constructor Description ValveNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valve
getDescriptor()
protected boolean
setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
parsed an attribute of an elementNode
writeDescriptor(Node parent, String nodeName, Valve descriptor)
Writes the descriptor class to a DOM tree and returns itvoid
writeDescriptor(Node parent, String nodeName, Valve[] valves)
write the descriptor class to a DOM tree and return it-
Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeDescriptorNode
createDescriptor, setElementValue, writeCommonComponentInfo, writeMessageDestinationInfo
-
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
-
-
-
-
Field Detail
-
descriptor
protected Valve descriptor
-
-
Method Detail
-
getDescriptor
public Valve getDescriptor()
- Specified by:
getDescriptor
in interfaceXMLNode<Valve>
- Overrides:
getDescriptor
in classRuntimeDescriptorNode<Valve>
- 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<Valve>
- Parameters:
elementName
- the element nameattributeName
- the attribute namevalue
- the attribute value- Returns:
- true if the attribute was processed
-
writeDescriptor
public Node writeDescriptor(Node parent, String nodeName, Valve descriptor)
Writes the descriptor class to a DOM tree and returns it- Overrides:
writeDescriptor
in classDeploymentDescriptorNode<Valve>
- Parameters:
parent
- node for the DOM treenodeName
- node namedescriptor
- the descriptor to write- Returns:
- the DOM tree top node
-
-