com.sun.xml.xsom.util
Class DomAnnotationParserFactory
java.lang.Object
com.sun.xml.xsom.util.DomAnnotationParserFactory
- All Implemented Interfaces:
- AnnotationParserFactory
public class DomAnnotationParserFactory
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomAnnotationParserFactory
public DomAnnotationParserFactory()
create
public AnnotationParser create()
- Specified by:
create
in interface AnnotationParserFactory
Copyright © 2012 Oracle. All Rights Reserved.