Class SchemaInfo


  • public class SchemaInfo
    extends java.lang.Object
    This class handles schema level info such as label and description, which is extracted from annotations from RelaxNG schema.
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the description to be used for this schems
      java.lang.String getLabel()
      Gets the label to be used for this schema
      java.lang.String getPrefix()
      Gets the prefix defined to be used for this schema
      void setDescription​(java.lang.String description)
      Sets the description extracted from rng schema
      void setLabel​(java.lang.String label)
      Sets the extracted label from rng schema
      void setPrefix​(java.lang.String prefix)
      Sets the prefix defined to be used for this schema.
      • Methods inherited from class java.lang.Object

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

      • SchemaInfo

        public SchemaInfo()
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Gets the label to be used for this schema
        Returns:
        label extracted from rng schema for this XMP schema
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets the extracted label from rng schema
        Parameters:
        label - label to set
      • getDescription

        public java.lang.String getDescription()
        Gets the description to be used for this schems
        Returns:
        description extracted from rng schema for this XMP schema
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description extracted from rng schema
        Parameters:
        description - description to set
      • getPrefix

        public java.lang.String getPrefix()
        Gets the prefix defined to be used for this schema
        Returns:
        prefix to use
      • setPrefix

        public void setPrefix​(java.lang.String prefix)
        Sets the prefix defined to be used for this schema.
        Parameters:
        prefix - prefix to use