Interface DescriptorType

    • Method Detail

      • getGrammar

        Grammar getGrammar()
        Returns:
        XML Grammar for this descriptor.
      • getJDOMFactory

        org.jdom2.JDOMFactory getJDOMFactory()
        Returns:
        JDOM Factory that can create typed descriptor elements.
      • getDescriptorIo

        DescriptorIo getDescriptorIo()
        Returns:
        class for serializing descriptors of this type.
      • getTagByName

        DescriptorTag getTagByName​(String name)
        Get a descriptor tag by name.
        Parameters:
        name - the name of the tag
        Returns:
        the descriptor tag, or null if not found
      • getAllTags

        Collection<DescriptorTag> getAllTags()
        Get all defined tags for this descriptor.
        Returns:
        a collection of all the tags
      • addTag

        void addTag​(DescriptorTag tag)
        Add a descriptor tag into this descriptor.
        Parameters:
        tag - the tag to add