com.sun.tools.xjc.reader.xmlschema

Class RawTypeSetBuilder

public class RawTypeSetBuilder extends Object implements XSTermVisitor

Builds RawTypeSet for XML Schema.
Nested Class Summary
static classRawTypeSetBuilder.CClassRef
Reference to a class that maps from an element.
classRawTypeSetBuilder.CElementInfoRef
Reference to a class that maps from an element.
static classRawTypeSetBuilder.WildcardRef
Reference to a wildcard.
static classRawTypeSetBuilder.XmlTypeRef
References to a type.
Field Summary
protected BGMBuilderbuilder
Constructor Summary
RawTypeSetBuilder()
Method Summary
static RawTypeSetbuild(XSParticle p, boolean optional)
voidelementDecl(XSElementDecl decl)
Set<RawTypeSet.Ref>getRefs()
Gets the Refs that were built.
voidmodelGroup(XSModelGroup group)
voidmodelGroupDecl(XSModelGroupDecl decl)
voidwildcard(XSWildcard wc)

Field Detail

builder

protected final BGMBuilder builder

Constructor Detail

RawTypeSetBuilder

public RawTypeSetBuilder()

Method Detail

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.

elementDecl

public void elementDecl(XSElementDecl decl)

getRefs

public Set<RawTypeSet.Ref> getRefs()
Gets the Refs that were built.

modelGroup

public void modelGroup(XSModelGroup group)

modelGroupDecl

public void modelGroupDecl(XSModelGroupDecl decl)

wildcard

public void wildcard(XSWildcard wc)