com.sun.tools.xjc.reader.xmlschema
Class RawTypeSetBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
- All Implemented Interfaces:
- XSTermVisitor
public class RawTypeSetBuilder
- extends Object
- implements XSTermVisitor
Builds RawTypeSet for XML Schema.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builder
protected final BGMBuilder builder
RawTypeSetBuilder
public RawTypeSetBuilder()
build
public static RawTypeSet build(XSParticle p,
boolean optional)
- Parameters:
optional - if this whole property is optional due to the
occurrence constraints on ancestors, set this to true.
this will prevent the primitive types to be generated.
getRefs
public Set<RawTypeSet.Ref> getRefs()
- Gets the
RawTypeSet.Refs that were built.
wildcard
public void wildcard(XSWildcard wc)
- Specified by:
wildcard in interface XSTermVisitor
modelGroupDecl
public void modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl in interface XSTermVisitor
modelGroup
public void modelGroup(XSModelGroup group)
- Specified by:
modelGroup in interface XSTermVisitor
elementDecl
public void elementDecl(XSElementDecl decl)
- Specified by:
elementDecl in interface XSTermVisitor
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.