Class DomAnnotationParserFactory

  • All Implemented Interfaces:
    AnnotationParserFactory

    public class DomAnnotationParserFactory
    extends java.lang.Object
    implements AnnotationParserFactory
    AnnotationParserFactory that parses annotations into a W3C DOM.

    If you use this parser factory, you'll get Element that represents <xs:annotation> from XSAnnotation.getAnnotation().

    When multiple <xs:annotation>s are found for the given schema component, you'll see all <xs:appinfo>s and <xs:documentation>s combined under one <xs:annotation> element.

    Author:
    Kohsuke Kawaguchi