| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| pack-priv static class | XSSimpleTypeDecl.ValidationContextImpl
A wrapper of ValidationContext, to provide a way of switching to a different Namespace declaration context. |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| public static final short | |
| public static final short | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| protected static final short | |
| public XSObjectList | |
| private ObjectList | |
| private XSObjectList | |
| private boolean | |
| pack-priv static final XSSimpleTypeDecl | |
| pack-priv static final XSSimpleTypeDecl | |
| private XSSimpleTypeDecl | |
| private boolean | |
| private short | |
| pack-priv static final ValidationContext | fDummyContext
Validation context used to validate facet values. |
| pack-priv static final short[] | |
| private TypeValidator[] | |
| pack-priv static final ValidationContext | |
| private ValidatedInfo[] | |
| private ObjectList | |
| private int | |
| private ShortList | |
| private XSObjectListImpl | |
| private short | |
| private short | |
| private boolean | |
| private short | |
| private int | |
| private boolean | |
| private XSSimpleTypeDecl | |
| private int | |
| private StringList | |
| private StringList | |
| private Object | |
| private Object | |
| private int | |
| private XSSimpleTypeDecl[] | |
| private Object | |
| private Object | |
| private int | |
| private XSObjectListImpl | |
| private XSNamespaceItem | |
| private boolean | |
| private short | |
| private Vector | |
| private Vector | |
| private short | |
| public XSAnnotation | |
| private String | |
| private int | |
| private String | |
| private short | |
| private short | |
| private short | |
| private static final TypeValidator[] | |
| public XSAnnotation | |
| public XSAnnotation | |
| public XSAnnotation | |
| public XSAnnotation | |
| public XSAnnotation | |
| public XSAnnotation | |
| public XSAnnotation | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| public XSObjectListImpl | |
| public static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final short | |
| pack-priv static final String[] | |
| public XSAnnotation | |
| pack-priv static final String | |
| public XSAnnotation | |
| pack-priv static final String[] | |
| public static final short |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, short validateDV, short ordered, boolean bounded, boolean finite, boolean numeric, boolean isImmutable, short builtInKind)
|
| protected | XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, String uri, short finalSet, boolean isImmutable, XSObjectList annotations, short builtInKind)
|
| protected | XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, String uri, short finalSet, boolean isImmutable, XSObjectList annotations)
|
| protected | XSSimpleTypeDecl(String name, String uri, short finalSet, XSSimpleTypeDecl itemType, boolean isImmutable, XSObjectList annotations)
|
| protected | XSSimpleTypeDecl(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes, XSObjectList annotations)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | applyFacets(XSFacets
the value of all the facets facets, short bit combination value of the costraining facet
constants which are present. presentFacet, short bit combination value of the costraining facet
constants which are fixed. fixedFacet, ValidationContext the validation context context)Implements org. |
| pack-priv void | applyFacets(XSFacets facets, short presentFacet, short fixedFacet, short patternType, ValidationContext context)
If <restriction> is chosen, or built-in derived types by restriction |
| pack-priv void | applyFacets1(XSFacets facets, short presentFacet, short fixedFacet)
built-in derived types by restriction |
| pack-priv void | applyFacets1(XSFacets facets, short presentFacet, short fixedFacet, short patternType)
built-in derived types by restriction |
| private void | |
| private void | |
| private void | |
| private short | |
| public boolean | derivedFrom(String
An ancestor type namespace. ancestorNS, String An ancestor type name. ancestorName, short A bit combination representing a subset of {
derivation)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Implements org. |
| public boolean | derivedFromType(XSTypeDefinition
An ancestor type definition. ancestor, short A bit combination representing a subset of {
derivation)DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.Implements org. ancestorType.
|
| public ObjectList | getActualEnumeration()
A list of actual enumeration values if it exists, otherwise an empty
|
| protected ValidatedInfo | |
| private Object | getActualValue(Object content, ValidationContext context, ValidatedInfo validatedInfo, boolean needNormalize)
|
| public XSObjectList | getAnnotations()
Implements org. XSObjectList.
|
| public boolean | |
| public XSTypeDefinition | getBaseType()
Implements org. |
| public boolean | getBounded()
Implements org. |
| public short | getBuiltInKind()
Implements org. |
| public short | getDefinedFacets()
Implements org. |
| public ObjectList | getEnumerationItemTypeList()
A list of enumeration type values (as a list of ShortList objects) if it exists, otherwise returns null |
| public ShortList | |
| public XSObject | getFacet(int facetType)
Implements org. |
| public XSObjectList | getFacets()
Implements org. XSObjectList.
|
| public short | getFinal()
Implements org. DERIVATION_EXTENSION, DERIVATION_RESTRICTION}
corresponding to final set of this type or
DERIVATION_NONE.
|
| public boolean | getFinite()
Implements org. |
| public short | getFixedFacets()
Implements org. |
| protected static TypeValidator[] | |
| public XSSimpleTypeDefinition | getItemType()
Implements org. list the item type definition (an atomic or
union simple type definition) is available, otherwise
null.
|
| public StringList | getLexicalEnumeration()
Implements org. StringList.
|
| public String | Returns: A value of the facet specified infacetName for
this simple type definition or null.The name of the facet, i.e.
facetName)FACET_LENGTH, FACET_TOTALDIGITS (see
XSConstants). To retrieve the value for a pattern or
an enumeration, see enumeration and
pattern.Implements org. |
| public StringList | getLexicalPattern()
Implements org. StringList.
|
| public Object | |
| public Object | |
| public XSObjectList | getMemberTypes()
Implements org. union the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList.
|
| public Object | |
| public Object | |
| public XSObjectList | getMultiValueFacets()
Implements org. XSObjectList.
|
| public String | getName()
Implements org. NCName, as defined in XML Namespaces, of
this declaration specified in the {name} property of the
component or null if the definition of this component
does not have a {name} property.
|
| public String | getNamespace()
Implements org. null if it is
unspecified.
|
| public XSNamespaceItem | getNamespaceItem()
Implements org. null otherwise.
|
| public boolean | getNumeric()
Implements org. |
| public short | getOrdered()
Implements org. |
| private short | |
| public short | getPrimitiveKind()
Implements org. |
| public XSSimpleTypeDefinition | getPrimitiveType()
Implements org. atomic the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null.
|
| public short | getType()
Implements org. type of this object, i.e.
ELEMENT_DECLARATION.
|
| public short | getTypeCategory()
Implements org. |
| public String | getTypeName()
Implements org. null if unknown.
|
| public String | getTypeNamespace()
Implements org. null if the element does not have
declaration or if no namespace information is available.
|
| public short | getVariety()
Implements org. |
| public short | getWhitespace()
Implements org. |
| public boolean | Returns: True if the facet is defined, false otherwise.The name of the facet. facetName)Implements org. |
| private boolean | Returns: boolean True if the type is derived by restriciton for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by any combination of restriction, list ir union. |
| private boolean | Returns: boolean True if the type is derived by list for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by list. |
| private boolean | Returns: boolean True if the type is derived by restriciton for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, XSTypeDefinition The reference type definition type)DOM Level 3 Checks if a type is derived from another by restriction. |
| private boolean | Returns: boolean True if the type is derived by union for the reference typeThe namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, XSTypeDefinition The reference type definition type)Checks if a type is derived from another by union. |
| public boolean | isDerivedFrom(String
the namespace of the other type definition. typeNamespaceArg, String the name of the other type definition. typeNameArg, int the type of derivation and conditions applied
between two types, as described in the list of constants provided
in this interface. derivationMethod)Implements org. TypeInfo on which the method
is being called, and the other type definition, i.e. the one passed
as parameters.
|
| public boolean | Returns: boolean True if the ancestor type is derived from the reference type by the specifiied derivation method.The namspace of the ancestor type declaration ancestorNS, String The name of the ancestor type declaration ancestorName, int The derivation method derivationMethod)Checks if a type is derived from another by restriction, given the name and namespace. |
| public boolean | isEqual(Object
the first value value1, Object the second value value2)Implements org. |
| public boolean | isFinal(short
Extension, restriction, list, union constants
(defined in derivation)XSConstants).Implements org. |
| public boolean | Returns: True if the facet is fixed, false otherwise.The name of the facet. facetName)Implements org. |
| public boolean | |
| public boolean | isIDType()
Implements org. |
| public static String | |
| protected String | |
| pack-priv void | |
| public void | |
| public void | |
| private void | |
| private void | |
| protected void | |
| protected XSSimpleTypeDecl | setListValues(String name, String uri, short finalSet, XSSimpleTypeDecl itemType, XSObjectList annotations)
|
| public void | |
| private void | |
| private void | |
| protected XSSimpleTypeDecl | setRestrictionValues(XSSimpleTypeDecl base, String name, String uri, short finalSet, XSObjectList annotations)
|
| protected XSSimpleTypeDecl | setUnionValues(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes, XSObjectList annotations)
|
| private boolean | |
| public String | |
| public Object | validate(String
the string value that needs to be validated content, ValidationContext the validation context context, ValidatedInfo used to store validation result validatedInfo)Implements org. |
| public Object | validate(Object
the string value that needs to be validated content, ValidationContext the validation context context, ValidatedInfo used to store validation result validatedInfo)Implements org. |
| public void | validate(ValidationContext
the validation context context, ValidatedInfo used to provide the actual value and member types validatedInfo)Implements org. |
| public ValidatedInfo | validateWithInfo(String content, ValidationContext context, ValidatedInfo validatedInfo)
validate a value, and return the compiled form |
| private String |