Class TagXml


  • public class TagXml
    extends java.lang.Object
    Model of a tag define in a tag library descriptor. This represents the information as parsed from the XML but differs from TagInfo in that it does not provide a link back to the tag library that defined it.
    • Constructor Summary

      Constructors 
      Constructor Description
      TagXml()
      Constructs a new TagXml.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<TagAttributeInfo> getAttributes()
      Returns the list of tag attributes.
      java.lang.String getBodyContent()
      Returns the body content type.
      java.lang.String getDisplayName()
      Returns the display name.
      java.lang.String getInfo()
      Returns the description info.
      java.lang.String getLargeIcon()
      Returns the large icon path.
      java.lang.String getName()
      Returns the tag name.
      java.lang.String getSmallIcon()
      Returns the small icon path.
      java.lang.String getTagClass()
      Returns the tag handler class.
      java.lang.String getTeiClass()
      Returns the TagExtraInfo class.
      java.util.List<TagVariableInfo> getVariables()
      Returns the list of tag variables.
      boolean hasDynamicAttributes()
      Returns whether the tag accepts dynamic attributes.
      void setBodyContent​(java.lang.String bodyContent)
      Sets the body content type.
      void setDisplayName​(java.lang.String displayName)
      Sets the display name.
      void setDynamicAttributes​(boolean dynamicAttributes)
      Sets whether the tag accepts dynamic attributes.
      void setInfo​(java.lang.String info)
      Sets the description info.
      void setLargeIcon​(java.lang.String largeIcon)
      Sets the large icon path.
      void setName​(java.lang.String name)
      Sets the tag name.
      void setSmallIcon​(java.lang.String smallIcon)
      Sets the small icon path.
      void setTagClass​(java.lang.String tagClass)
      Sets the tag handler class.
      void setTeiClass​(java.lang.String teiClass)
      Sets the TagExtraInfo class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TagXml

        public TagXml()
        Constructs a new TagXml.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the tag name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets the tag name.
        Parameters:
        name - the name
      • getTagClass

        public java.lang.String getTagClass()
        Returns the tag handler class.
        Returns:
        the tag class
      • setTagClass

        public void setTagClass​(java.lang.String tagClass)
        Sets the tag handler class.
        Parameters:
        tagClass - the tag class
      • getTeiClass

        public java.lang.String getTeiClass()
        Returns the TagExtraInfo class.
        Returns:
        the TEI class
      • setTeiClass

        public void setTeiClass​(java.lang.String teiClass)
        Sets the TagExtraInfo class.
        Parameters:
        teiClass - the TEI class
      • getBodyContent

        public java.lang.String getBodyContent()
        Returns the body content type.
        Returns:
        the body content type
      • setBodyContent

        public void setBodyContent​(java.lang.String bodyContent)
        Sets the body content type.
        Parameters:
        bodyContent - the body content type
      • getDisplayName

        public java.lang.String getDisplayName()
        Returns the display name.
        Returns:
        the display name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Sets the display name.
        Parameters:
        displayName - the display name
      • getSmallIcon

        public java.lang.String getSmallIcon()
        Returns the small icon path.
        Returns:
        the small icon path
      • setSmallIcon

        public void setSmallIcon​(java.lang.String smallIcon)
        Sets the small icon path.
        Parameters:
        smallIcon - the small icon path
      • getLargeIcon

        public java.lang.String getLargeIcon()
        Returns the large icon path.
        Returns:
        the large icon path
      • setLargeIcon

        public void setLargeIcon​(java.lang.String largeIcon)
        Sets the large icon path.
        Parameters:
        largeIcon - the large icon path
      • getInfo

        public java.lang.String getInfo()
        Returns the description info.
        Returns:
        the info
      • setInfo

        public void setInfo​(java.lang.String info)
        Sets the description info.
        Parameters:
        info - the info
      • hasDynamicAttributes

        public boolean hasDynamicAttributes()
        Returns whether the tag accepts dynamic attributes.
        Returns:
        true if dynamic attributes are supported
      • setDynamicAttributes

        public void setDynamicAttributes​(boolean dynamicAttributes)
        Sets whether the tag accepts dynamic attributes.
        Parameters:
        dynamicAttributes - true if dynamic attributes are supported
      • getAttributes

        public java.util.List<TagAttributeInfo> getAttributes()
        Returns the list of tag attributes.
        Returns:
        the attributes
      • getVariables

        public java.util.List<TagVariableInfo> getVariables()
        Returns the list of tag variables.
        Returns:
        the variables