XSOM 20110809-redhat-3

com.sun.xml.xsom.util
Class DomAnnotationParserFactory

java.lang.Object
  extended by 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

Constructor Summary
DomAnnotationParserFactory()
           
 
Method Summary
 AnnotationParser create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomAnnotationParserFactory

public DomAnnotationParserFactory()
Method Detail

create

public AnnotationParser create()
Specified by:
create in interface AnnotationParserFactory

XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.