Package | Description |
---|---|
com.sun.xml.xsom |
Interfaces that the client should use to access schema information.
|
com.sun.xml.xsom.impl |
Implementation of the
com.sun.xml.xsom package. |
com.sun.xml.xsom.impl.parser |
Parser that reads XML Schema documents and builds an
XSSchemaSet object. |
com.sun.xml.xsom.impl.scd | |
com.sun.xml.xsom.util |
Modifier and Type | Interface and Description |
---|---|
interface |
XSComplexType
Complex type.
|
interface |
XSListSimpleType
List simple type.
|
interface |
XSRestrictionSimpleType
Restriction simple type.
|
interface |
XSSimpleType
Simple type.
|
interface |
XSUnionSimpleType
Union simple type.
|
Modifier and Type | Method and Description |
---|---|
XSType |
XSType.getBaseType()
Returns the base type of this type.
|
XSType |
XSType.getRedefinedBy()
If this
XSType is redefined by another type,
return that component. |
XSType |
XSElementDecl.getType()
Gets the type of this element declaration.
|
XSType |
XSSchema.getType(java.lang.String localName) |
XSType |
XSSchemaSet.getType(java.lang.String namespaceURI,
java.lang.String localName) |
XSType[] |
XSType.listSubstitutables()
Lists up types that can substitute this type by using xsi:type.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,XSType> |
XSSchema.getTypes()
Gets all the
XSType s in this schema (union of
XSSchema.getSimpleTypes() and XSSchema.getComplexTypes() |
java.util.Iterator<XSType> |
XSSchemaSet.iterateTypes()
Iterates all type definitions in all the schemas.
|
java.util.Iterator<XSType> |
XSSchema.iterateTypes() |
Modifier and Type | Method and Description |
---|---|
boolean |
XSType.isDerivedFrom(XSType t)
Returns true if this type is derived from the specified type.
|
Modifier and Type | Class and Description |
---|---|
class |
ComplexTypeImpl |
class |
ListSimpleTypeImpl |
class |
RestrictionSimpleTypeImpl |
private class |
SchemaSetImpl.AnySimpleType |
private class |
SchemaSetImpl.AnyType |
class |
SimpleTypeImpl |
class |
UnionSimpleTypeImpl |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,XSType> |
SchemaImpl.allTypes |
private java.util.Map<java.lang.String,XSType> |
SchemaImpl.allTypesView |
Modifier and Type | Method and Description |
---|---|
XSType |
SchemaSetImpl.AnySimpleType.getBaseType() |
XSType |
SchemaSetImpl.AnyType.getBaseType() |
XSType |
SimpleTypeImpl.getBaseType() |
XSType |
ComplexTypeImpl.getBaseType() |
XSType |
Ref.Type.getType()
Obtains a reference as a type.
|
XSType |
SchemaSetImpl.AnyType.getType() |
XSType |
ElementDecl.getType() |
XSType |
SchemaImpl.getType(java.lang.String name) |
XSType |
SchemaSetImpl.getType(java.lang.String ns,
java.lang.String localName) |
private static XSType[] |
Util.listDirectSubstitutables(XSType _this) |
XSType[] |
SchemaSetImpl.AnySimpleType.listSubstitutables() |
XSType[] |
SchemaSetImpl.AnyType.listSubstitutables() |
XSType[] |
SimpleTypeImpl.listSubstitutables() |
XSType[] |
ComplexTypeImpl.listSubstitutables() |
static XSType[] |
Util.listSubstitutables(XSType _this) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,XSType> |
SchemaImpl.getTypes() |
java.util.Iterator<XSType> |
SchemaImpl.iterateTypes() |
java.util.Iterator<XSType> |
SchemaSetImpl.iterateTypes() |
Modifier and Type | Method and Description |
---|---|
static void |
Util.buildSubstitutables(XSType _this,
java.util.Set substitutables) |
private static void |
Util.buildSubstitutables(XSType head,
XSType _this,
java.util.Set substitutables) |
boolean |
SchemaSetImpl.AnySimpleType.isDerivedFrom(XSType t) |
boolean |
SchemaSetImpl.AnyType.isDerivedFrom(XSType t) |
boolean |
SimpleTypeImpl.isDerivedFrom(XSType t) |
boolean |
ComplexTypeImpl.isDerivedFrom(XSType t) |
private static boolean |
Util.isSubstitutable(XSType _base,
XSType derived)
Implements
Validation Rule: Schema-Validity Assessment (Element) 1.2.1.2.4 |
private static XSType[] |
Util.listDirectSubstitutables(XSType _this) |
static XSType[] |
Util.listSubstitutables(XSType _this) |
Modifier and Type | Method and Description |
---|---|
XSType |
SubstGroupBaseTypeRef.getType() |
XSType |
DelayedRef.Type.getType() |
Modifier and Type | Field and Description |
---|---|
static Axis<XSType> |
Axis.BASETYPE |
static Axis<XSType> |
Axis.TYPE_DEFINITION |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Step.AnonymousType.match(XSType node) |
Constructor and Description |
---|
AnonymousType(Axis<? extends XSType> axis) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
TypeSet.contains(XSType type)
Return true if this TypeSet contains the specified type.
|
boolean |
SimpleTypeSet.contains(XSType type) |
boolean |
TypeClosure.contains(XSType type) |