Package com.sun.tools.txw2.builder.xsd
Class XmlSchemaBuilder
- java.lang.Object
-
- com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
-
- All Implemented Interfaces:
XSContentTypeFunction<Leaf>
,XSFunction<Leaf>
,XSSimpleTypeFunction<Leaf>
,XSTermFunction<Leaf>
public final class XmlSchemaBuilder extends java.lang.Object implements XSFunction<Leaf>, XSSimpleTypeFunction<Leaf>
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected NodeSet
nodeSet
protected XSSchemaSet
schemaSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Leaf
annotation(XSAnnotation xsAnnotation)
Leaf
attGroupDecl(XSAttGroupDecl ag)
Attribute
attributeDecl(XSAttributeDecl decl)
Attribute
attributeUse(XSAttributeUse use)
static NodeSet
build(XSSchemaSet xs, TxwOptions opts)
Leaf
complexType(XSComplexType ct)
Leaf
elementDecl(XSElementDecl e)
Leaf
empty(XSContentType empty)
Leaf
facet(XSFacet xsFacet)
Leaf
identityConstraint(XSIdentityConstraint xsIdentityConstraint)
Leaf
listSimpleType(XSListSimpleType st)
Leaf
modelGroup(XSModelGroup mg)
Leaf
modelGroupDecl(XSModelGroupDecl mg)
Leaf
notation(XSNotation xsNotation)
Leaf
particle(XSParticle particle)
Leaf
restrictionSimpleType(XSRestrictionSimpleType rst)
Leaf
schema(XSSchema xsSchema)
Leaf
simpleType(XSSimpleType simpleType)
Leaf
unionSimpleType(XSUnionSimpleType st)
Leaf
wildcard(XSWildcard wc)
Leaf
xpath(XSXPath xsxPath)
-
-
-
Field Detail
-
schemaSet
protected final XSSchemaSet schemaSet
-
nodeSet
protected final NodeSet nodeSet
-
-
Method Detail
-
build
public static NodeSet build(XSSchemaSet xs, TxwOptions opts)
-
simpleType
public Leaf simpleType(XSSimpleType simpleType)
- Specified by:
simpleType
in interfaceXSContentTypeFunction<Leaf>
-
particle
public Leaf particle(XSParticle particle)
- Specified by:
particle
in interfaceXSContentTypeFunction<Leaf>
-
empty
public Leaf empty(XSContentType empty)
- Specified by:
empty
in interfaceXSContentTypeFunction<Leaf>
-
attributeDecl
public Attribute attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDecl
in interfaceXSFunction<Leaf>
-
attributeUse
public Attribute attributeUse(XSAttributeUse use)
- Specified by:
attributeUse
in interfaceXSFunction<Leaf>
-
wildcard
public Leaf wildcard(XSWildcard wc)
- Specified by:
wildcard
in interfaceXSTermFunction<Leaf>
-
modelGroupDecl
public Leaf modelGroupDecl(XSModelGroupDecl mg)
- Specified by:
modelGroupDecl
in interfaceXSTermFunction<Leaf>
-
modelGroup
public Leaf modelGroup(XSModelGroup mg)
- Specified by:
modelGroup
in interfaceXSTermFunction<Leaf>
-
elementDecl
public Leaf elementDecl(XSElementDecl e)
- Specified by:
elementDecl
in interfaceXSTermFunction<Leaf>
-
complexType
public Leaf complexType(XSComplexType ct)
- Specified by:
complexType
in interfaceXSFunction<Leaf>
-
attGroupDecl
public Leaf attGroupDecl(XSAttGroupDecl ag)
- Specified by:
attGroupDecl
in interfaceXSFunction<Leaf>
-
restrictionSimpleType
public Leaf restrictionSimpleType(XSRestrictionSimpleType rst)
- Specified by:
restrictionSimpleType
in interfaceXSSimpleTypeFunction<Leaf>
-
unionSimpleType
public Leaf unionSimpleType(XSUnionSimpleType st)
- Specified by:
unionSimpleType
in interfaceXSSimpleTypeFunction<Leaf>
-
listSimpleType
public Leaf listSimpleType(XSListSimpleType st)
- Specified by:
listSimpleType
in interfaceXSSimpleTypeFunction<Leaf>
-
annotation
public Leaf annotation(XSAnnotation xsAnnotation)
- Specified by:
annotation
in interfaceXSFunction<Leaf>
-
schema
public Leaf schema(XSSchema xsSchema)
- Specified by:
schema
in interfaceXSFunction<Leaf>
-
facet
public Leaf facet(XSFacet xsFacet)
- Specified by:
facet
in interfaceXSFunction<Leaf>
-
notation
public Leaf notation(XSNotation xsNotation)
- Specified by:
notation
in interfaceXSFunction<Leaf>
-
identityConstraint
public Leaf identityConstraint(XSIdentityConstraint xsIdentityConstraint)
- Specified by:
identityConstraint
in interfaceXSFunction<Leaf>
-
xpath
public Leaf xpath(XSXPath xsxPath)
- Specified by:
xpath
in interfaceXSFunction<Leaf>
-
-