Class AbstractXmlAnnotation

    • Field Detail

      • locator

        protected Locator locator
    • Constructor Detail

      • AbstractXmlAnnotation

        public AbstractXmlAnnotation()

        Constructor for AbstractXmlAnnotation.

      • AbstractXmlAnnotation

        public AbstractXmlAnnotation​(CvTerm topic,
                                     String value)

        Constructor for AbstractXmlAnnotation.

        Parameters:
        topic - a CvTerm object.
        value - a String object.
      • AbstractXmlAnnotation

        public AbstractXmlAnnotation​(CvTerm topic)

        Constructor for AbstractXmlAnnotation.

        Parameters:
        topic - a CvTerm object.
    • Method Detail

      • setValue

        public void setValue​(String value)
        Set the value of this annotation.
        Specified by:
        setValue in interface Annotation
        Parameters:
        value - : the value
      • setJAXBName

        public void setJAXBName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • setJAXBNameAc

        public void setJAXBNameAc​(String value)
        Sets the value of the nameAc property.
        Parameters:
        value - allowed object is String
      • sourceLocation

        public Locator sourceLocation()
        Specified by:
        sourceLocation in interface com.sun.xml.bind.Locatable
      • hashCode

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

        public String toString()

        toString

        Specified by:
        toString in interface FileSourceContext
        Overrides:
        toString in class Object
        Returns:
        the file source context as a String. If the source locator is not null, it should give the source locator properties