public final class XmlSchemaBuilder extends java.lang.Object implements com.sun.xml.xsom.visitor.XSFunction<Leaf>, com.sun.xml.xsom.visitor.XSSimpleTypeFunction<Leaf>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<com.sun.xml.xsom.XSAttGroupDecl,Define> |
attGroups
...
|
private java.util.Map<com.sun.xml.xsom.XSComplexType,Define> |
complexTypes
We map complex types to interfaces.
|
private DatatypeFactory |
dtf |
private Grammar |
grammar |
private java.util.Map<com.sun.xml.xsom.XSModelGroupDecl,Define> |
modelGroups
We map model groups to interfaces.
|
protected NodeSet |
nodeSet |
protected com.sun.xml.xsom.XSSchemaSet |
schemaSet |
Modifier | Constructor and Description |
---|---|
private |
XmlSchemaBuilder(com.sun.xml.xsom.XSSchemaSet xs,
TxwOptions opts) |
Modifier and Type | Method and Description |
---|---|
Leaf |
annotation(com.sun.xml.xsom.XSAnnotation xsAnnotation) |
Leaf |
attGroupDecl(com.sun.xml.xsom.XSAttGroupDecl ag) |
private void |
attHolder(com.sun.xml.xsom.XSAttContainer ct,
Define def) |
Attribute |
attributeDecl(com.sun.xml.xsom.XSAttributeDecl decl) |
Attribute |
attributeUse(com.sun.xml.xsom.XSAttributeUse use) |
private void |
build(com.sun.xml.xsom.XSSchemaSet xs) |
static NodeSet |
build(com.sun.xml.xsom.XSSchemaSet xs,
TxwOptions opts) |
Leaf |
complexType(com.sun.xml.xsom.XSComplexType ct) |
Leaf |
elementDecl(com.sun.xml.xsom.XSElementDecl e) |
Leaf |
empty(com.sun.xml.xsom.XSContentType empty) |
Leaf |
facet(com.sun.xml.xsom.XSFacet xsFacet) |
private javax.xml.namespace.QName |
getQName(com.sun.xml.xsom.XSDeclaration decl) |
Leaf |
identityConstraint(com.sun.xml.xsom.XSIdentityConstraint xsIdentityConstraint) |
private boolean |
isAnyType(com.sun.xml.xsom.XSType t) |
Leaf |
listSimpleType(com.sun.xml.xsom.XSListSimpleType st) |
Leaf |
modelGroup(com.sun.xml.xsom.XSModelGroup mg) |
Leaf |
modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl mg) |
Leaf |
notation(com.sun.xml.xsom.XSNotation xsNotation) |
Leaf |
particle(com.sun.xml.xsom.XSParticle particle) |
Leaf |
restrictionSimpleType(com.sun.xml.xsom.XSRestrictionSimpleType rst) |
Leaf |
schema(com.sun.xml.xsom.XSSchema xsSchema) |
Leaf |
simpleType(com.sun.xml.xsom.XSSimpleType simpleType) |
Leaf |
unionSimpleType(com.sun.xml.xsom.XSUnionSimpleType st) |
Leaf |
wildcard(com.sun.xml.xsom.XSWildcard wc) |
Leaf |
xpath(com.sun.xml.xsom.XSXPath xsxPath) |
protected final com.sun.xml.xsom.XSSchemaSet schemaSet
protected final NodeSet nodeSet
private final DatatypeFactory dtf
private final java.util.Map<com.sun.xml.xsom.XSModelGroupDecl,Define> modelGroups
private final java.util.Map<com.sun.xml.xsom.XSComplexType,Define> complexTypes
private final java.util.Map<com.sun.xml.xsom.XSAttGroupDecl,Define> attGroups
private final Grammar grammar
private XmlSchemaBuilder(com.sun.xml.xsom.XSSchemaSet xs, TxwOptions opts)
public static NodeSet build(com.sun.xml.xsom.XSSchemaSet xs, TxwOptions opts)
private void build(com.sun.xml.xsom.XSSchemaSet xs)
public Leaf simpleType(com.sun.xml.xsom.XSSimpleType simpleType)
simpleType
in interface com.sun.xml.xsom.visitor.XSContentTypeFunction<Leaf>
public Leaf particle(com.sun.xml.xsom.XSParticle particle)
particle
in interface com.sun.xml.xsom.visitor.XSContentTypeFunction<Leaf>
public Leaf empty(com.sun.xml.xsom.XSContentType empty)
empty
in interface com.sun.xml.xsom.visitor.XSContentTypeFunction<Leaf>
public Attribute attributeDecl(com.sun.xml.xsom.XSAttributeDecl decl)
attributeDecl
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Attribute attributeUse(com.sun.xml.xsom.XSAttributeUse use)
attributeUse
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Leaf wildcard(com.sun.xml.xsom.XSWildcard wc)
wildcard
in interface com.sun.xml.xsom.visitor.XSTermFunction<Leaf>
public Leaf modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl mg)
modelGroupDecl
in interface com.sun.xml.xsom.visitor.XSTermFunction<Leaf>
public Leaf modelGroup(com.sun.xml.xsom.XSModelGroup mg)
modelGroup
in interface com.sun.xml.xsom.visitor.XSTermFunction<Leaf>
public Leaf elementDecl(com.sun.xml.xsom.XSElementDecl e)
elementDecl
in interface com.sun.xml.xsom.visitor.XSTermFunction<Leaf>
public Leaf complexType(com.sun.xml.xsom.XSComplexType ct)
complexType
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
private void attHolder(com.sun.xml.xsom.XSAttContainer ct, Define def)
public Leaf attGroupDecl(com.sun.xml.xsom.XSAttGroupDecl ag)
attGroupDecl
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
private boolean isAnyType(com.sun.xml.xsom.XSType t)
public Leaf restrictionSimpleType(com.sun.xml.xsom.XSRestrictionSimpleType rst)
restrictionSimpleType
in interface com.sun.xml.xsom.visitor.XSSimpleTypeFunction<Leaf>
public Leaf unionSimpleType(com.sun.xml.xsom.XSUnionSimpleType st)
unionSimpleType
in interface com.sun.xml.xsom.visitor.XSSimpleTypeFunction<Leaf>
public Leaf listSimpleType(com.sun.xml.xsom.XSListSimpleType st)
listSimpleType
in interface com.sun.xml.xsom.visitor.XSSimpleTypeFunction<Leaf>
private javax.xml.namespace.QName getQName(com.sun.xml.xsom.XSDeclaration decl)
public Leaf annotation(com.sun.xml.xsom.XSAnnotation xsAnnotation)
annotation
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Leaf schema(com.sun.xml.xsom.XSSchema xsSchema)
schema
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Leaf facet(com.sun.xml.xsom.XSFacet xsFacet)
facet
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Leaf notation(com.sun.xml.xsom.XSNotation xsNotation)
notation
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>
public Leaf identityConstraint(com.sun.xml.xsom.XSIdentityConstraint xsIdentityConstraint)
identityConstraint
in interface com.sun.xml.xsom.visitor.XSFunction<Leaf>