Class DescriptorTag

    • Constructor Detail

      • DescriptorTag

        public DescriptorTag​(DescriptorType descriptorType,
                             String tagName,
                             org.jdom2.Namespace namespace,
                             boolean isMultipleAllowed,
                             Identifier identifier,
                             Class clazz)
        Constructor.
        Parameters:
        descriptorType - the type of this tag
        tagName - The tag name of the element
        isMultipleAllowed - Whether the element may occur multiple times in the descriptor
        identifier - optional tag identifier
        namespace - The namespace to use
        clazz - implementation class for this tag
      • DescriptorTag

        public DescriptorTag​(DescriptorType descriptorType,
                             String tagName,
                             boolean isMultipleAllowed)
        Constructor.
        Parameters:
        descriptorType - the type of this tag
        tagName - The tag name of the element
        isMultipleAllowed - Whether the element may occur multiple times in the descriptor
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getTagName

        public String getTagName()
        Get tag name.
        Returns:
        the name of the tag.
      • getTagNamespace

        public org.jdom2.Namespace getTagNamespace()
        Get tag namespace.
        Returns:
        the namespace this tag is in.
      • isMultipleAllowed

        public boolean isMultipleAllowed()
        Is this tag allowed multiple times?
        Returns:
        whether the tag is allowed multiple times.
      • getIdentifier

        public Identifier getIdentifier()
        Returns:
        the identifier
      • getImplementationClass

        public Class getImplementationClass()
        Returns:
        the webXmlElementClass
      • getDescriptorType

        public DescriptorType getDescriptorType()
        Return the descriptor type that this tag is defined in.
        Returns:
        descriptor type The descriptor type