public class MethodPermissionNode extends DeploymentDescriptorNode<MethodPermissionDescriptor>
abstractDescriptor, habitat, handlers, localStrings, parentNode, rootNode
Constructor and Description |
---|
MethodPermissionNode()
Creates new MethodPermissionNode
|
Modifier and Type | Method and Description |
---|---|
MethodPermissionDescriptor |
getDescriptor() |
void |
setElementValue(XMLElement element,
String value)
receives notification of the value for a particular tag
|
void |
startElement(XMLElement element,
Attributes attributes)
SAX Parser API implementation, we don't really care for now.
|
Node |
writeDescriptor(Node parent,
String nodeName,
MethodPermissionDescriptor descriptor,
EjbDescriptor ejb)
write the descriptor class to a DOM tree and return it
|
Node |
writeDescriptorInNode(Node subNode,
MethodPermissionDescriptor descriptor,
EjbDescriptor ejb)
Write the descriptor in a DOM tree which root element is provided
|
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 MethodPermissionNode()
public MethodPermissionDescriptor getDescriptor()
getDescriptor
in interface XMLNode<MethodPermissionDescriptor>
getDescriptor
in class DeploymentDescriptorNode<MethodPermissionDescriptor>
public void startElement(XMLElement element, Attributes attributes)
startElement
in interface XMLNode<MethodPermissionDescriptor>
startElement
in class DeploymentDescriptorNode<MethodPermissionDescriptor>
element
- the XML element type nameattributes
- the specified or defaultted attritutespublic void setElementValue(XMLElement element, String value)
setElementValue
in interface XMLNode<MethodPermissionDescriptor>
setElementValue
in class DeploymentDescriptorNode<MethodPermissionDescriptor>
element
- the xml elementvalue
- it's associated valuepublic Node writeDescriptor(Node parent, String nodeName, MethodPermissionDescriptor descriptor, EjbDescriptor ejb)
parent
- node in the DOM treenode
- name for the root element of this xml fragmentthe
- descriptor to writepublic Node writeDescriptorInNode(Node subNode, MethodPermissionDescriptor descriptor, EjbDescriptor ejb)
subNode
- the root element for the DOM fragmentdescriptor
- the method permisison descriptorejb
- the ejb descriptor the above method permission belongs toCopyright © 2018. All rights reserved.