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 NodeSetnodeSetprotected XSSchemaSetschemaSet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Leafannotation(XSAnnotation xsAnnotation)LeafattGroupDecl(XSAttGroupDecl ag)AttributeattributeDecl(XSAttributeDecl decl)AttributeattributeUse(XSAttributeUse use)static NodeSetbuild(XSSchemaSet xs, TxwOptions opts)LeafcomplexType(XSComplexType ct)LeafelementDecl(XSElementDecl e)Leafempty(XSContentType empty)Leaffacet(XSFacet xsFacet)LeafidentityConstraint(XSIdentityConstraint xsIdentityConstraint)LeaflistSimpleType(XSListSimpleType st)LeafmodelGroup(XSModelGroup mg)LeafmodelGroupDecl(XSModelGroupDecl mg)Leafnotation(XSNotation xsNotation)Leafparticle(XSParticle particle)LeafrestrictionSimpleType(XSRestrictionSimpleType rst)Leafschema(XSSchema xsSchema)LeafsimpleType(XSSimpleType simpleType)LeafunionSimpleType(XSUnionSimpleType st)Leafwildcard(XSWildcard wc)Leafxpath(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:
simpleTypein interfaceXSContentTypeFunction<Leaf>
-
particle
public Leaf particle(XSParticle particle)
- Specified by:
particlein interfaceXSContentTypeFunction<Leaf>
-
empty
public Leaf empty(XSContentType empty)
- Specified by:
emptyin interfaceXSContentTypeFunction<Leaf>
-
attributeDecl
public Attribute attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDeclin interfaceXSFunction<Leaf>
-
attributeUse
public Attribute attributeUse(XSAttributeUse use)
- Specified by:
attributeUsein interfaceXSFunction<Leaf>
-
wildcard
public Leaf wildcard(XSWildcard wc)
- Specified by:
wildcardin interfaceXSTermFunction<Leaf>
-
modelGroupDecl
public Leaf modelGroupDecl(XSModelGroupDecl mg)
- Specified by:
modelGroupDeclin interfaceXSTermFunction<Leaf>
-
modelGroup
public Leaf modelGroup(XSModelGroup mg)
- Specified by:
modelGroupin interfaceXSTermFunction<Leaf>
-
elementDecl
public Leaf elementDecl(XSElementDecl e)
- Specified by:
elementDeclin interfaceXSTermFunction<Leaf>
-
complexType
public Leaf complexType(XSComplexType ct)
- Specified by:
complexTypein interfaceXSFunction<Leaf>
-
attGroupDecl
public Leaf attGroupDecl(XSAttGroupDecl ag)
- Specified by:
attGroupDeclin interfaceXSFunction<Leaf>
-
restrictionSimpleType
public Leaf restrictionSimpleType(XSRestrictionSimpleType rst)
- Specified by:
restrictionSimpleTypein interfaceXSSimpleTypeFunction<Leaf>
-
unionSimpleType
public Leaf unionSimpleType(XSUnionSimpleType st)
- Specified by:
unionSimpleTypein interfaceXSSimpleTypeFunction<Leaf>
-
listSimpleType
public Leaf listSimpleType(XSListSimpleType st)
- Specified by:
listSimpleTypein interfaceXSSimpleTypeFunction<Leaf>
-
annotation
public Leaf annotation(XSAnnotation xsAnnotation)
- Specified by:
annotationin interfaceXSFunction<Leaf>
-
schema
public Leaf schema(XSSchema xsSchema)
- Specified by:
schemain interfaceXSFunction<Leaf>
-
facet
public Leaf facet(XSFacet xsFacet)
- Specified by:
facetin interfaceXSFunction<Leaf>
-
notation
public Leaf notation(XSNotation xsNotation)
- Specified by:
notationin interfaceXSFunction<Leaf>
-
identityConstraint
public Leaf identityConstraint(XSIdentityConstraint xsIdentityConstraint)
- Specified by:
identityConstraintin interfaceXSFunction<Leaf>
-
xpath
public Leaf xpath(XSXPath xsxPath)
- Specified by:
xpathin interfaceXSFunction<Leaf>
-
-