Class ProtectionNode

  • All Implemented Interfaces:
    XMLNode

    public class ProtectionNode
    extends DeploymentDescriptorNode
    This node handles request-protection and response-protection elements
    • Constructor Detail

      • ProtectionNode

        public ProtectionNode()
    • Method Detail

      • setAttributeValue

        protected boolean setAttributeValue​(XMLElement elementName,
                                            XMLElement attributeName,
                                            String value)
        parsed an attribute of an element
        Overrides:
        setAttributeValue in class DeploymentDescriptorNode
        Parameters:
        the - element name
        the - attribute name
        the - attribute value
        Returns:
        true if the attribute was processed
      • writeDescriptor

        public Node writeDescriptor​(Node parent,
                                    String nodeName,
                                    ProtectionDescriptor protectionDesc)
        write the descriptor class to a DOM tree and return it
        Parameters:
        parent - node for the DOM tree
        node - name for
        the - descriptor to write
        Returns:
        the DOM tree top node