Class AnnotationImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationImpl()  
      AnnotationImpl​(java.lang.Object o, org.xml.sax.Locator _loc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getAnnotation()
      Obtains the application-parsed annotation.
      org.xml.sax.Locator getLocator()
      Returns a location information of the annotation.
      java.lang.Object setAnnotation​(java.lang.Object o)
      Sets the value to be returned by XSAnnotation.getAnnotation().
      • Methods inherited from class java.lang.Object

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

      • AnnotationImpl

        public AnnotationImpl​(java.lang.Object o,
                              org.xml.sax.Locator _loc)
      • AnnotationImpl

        public AnnotationImpl()
    • Method Detail

      • getAnnotation

        public java.lang.Object getAnnotation()
        Description copied from interface: XSAnnotation
        Obtains the application-parsed annotation.

        annotations are parsed by the user-specified AnnotationParser.

        Specified by:
        getAnnotation in interface XSAnnotation
        Returns:
        may return null
      • getLocator

        public org.xml.sax.Locator getLocator()
        Description copied from interface: XSAnnotation
        Returns a location information of the annotation.
        Specified by:
        getLocator in interface XSAnnotation