|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl
| Field Summary | |
static short |
ANYATOMICTYPE_DT
|
static short |
DAYTIMEDURATION_DT
|
org.apache.xerces.xs.XSObjectList |
enumerationAnnotations
|
org.apache.xerces.xs.XSAnnotation |
fractionDigitsAnnotation
|
org.apache.xerces.xs.XSAnnotation |
lengthAnnotation
|
org.apache.xerces.xs.XSAnnotation |
maxExclusiveAnnotation
|
org.apache.xerces.xs.XSAnnotation |
maxInclusiveAnnotation
|
org.apache.xerces.xs.XSAnnotation |
maxLengthAnnotation
|
org.apache.xerces.xs.XSAnnotation |
minExclusiveAnnotation
|
org.apache.xerces.xs.XSAnnotation |
minInclusiveAnnotation
|
org.apache.xerces.xs.XSAnnotation |
minLengthAnnotation
|
XSObjectListImpl |
patternAnnotations
|
static short |
PRECISIONDECIMAL_DT
|
org.apache.xerces.xs.XSAnnotation |
totalDigitsAnnotation
|
org.apache.xerces.xs.XSAnnotation |
whiteSpaceAnnotation
|
static short |
YEARMONTHDURATION_DT
|
| Fields inherited from interface org.apache.xerces.impl.dv.XSSimpleType |
PRIMITIVE_ANYURI, PRIMITIVE_BASE64BINARY, PRIMITIVE_BOOLEAN, PRIMITIVE_DATE, PRIMITIVE_DATETIME, PRIMITIVE_DECIMAL, PRIMITIVE_DOUBLE, PRIMITIVE_DURATION, PRIMITIVE_FLOAT, PRIMITIVE_GDAY, PRIMITIVE_GMONTH, PRIMITIVE_GMONTHDAY, PRIMITIVE_GYEAR, PRIMITIVE_GYEARMONTH, PRIMITIVE_HEXBINARY, PRIMITIVE_NOTATION, PRIMITIVE_PRECISIONDECIMAL, PRIMITIVE_QNAME, PRIMITIVE_STRING, PRIMITIVE_TIME, WS_COLLAPSE, WS_PRESERVE, WS_REPLACE |
| Fields inherited from interface org.apache.xerces.xs.XSSimpleTypeDefinition |
FACET_ENUMERATION, FACET_FRACTIONDIGITS, FACET_LENGTH, FACET_MAXEXCLUSIVE, FACET_MAXINCLUSIVE, FACET_MAXLENGTH, FACET_MINEXCLUSIVE, FACET_MININCLUSIVE, FACET_MINLENGTH, FACET_NONE, FACET_PATTERN, FACET_TOTALDIGITS, FACET_WHITESPACE, ORDERED_FALSE, ORDERED_PARTIAL, ORDERED_TOTAL, VARIETY_ABSENT, VARIETY_ATOMIC, VARIETY_LIST, VARIETY_UNION |
| Fields inherited from interface org.apache.xerces.xs.XSTypeDefinition |
COMPLEX_TYPE, SIMPLE_TYPE |
| Fields inherited from interface org.w3c.dom.TypeInfo |
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|
XSSimpleTypeDecl()
|
protected |
XSSimpleTypeDecl(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl[] memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
|
protected |
XSSimpleTypeDecl(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl itemType,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
|
protected |
XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
short validateDV,
short ordered,
boolean bounded,
boolean finite,
boolean numeric,
boolean isImmutable,
short builtInKind)
|
protected |
XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
|
protected |
XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations,
short builtInKind)
|
| Method Summary | |
void |
applyFacets(XSFacets facets,
short presentFacet,
short fixedFacet,
ValidationContext context)
If |
boolean |
derivedFrom(java.lang.String ancestorNS,
java.lang.String ancestorName,
short derivation)
Convenience method which checks if this type is derived from the given ancestor type. |
boolean |
derivedFromType(org.apache.xerces.xs.XSTypeDefinition ancestor,
short derivation)
Convenience method which checks if this type is derived from the given ancestorType. |
org.apache.xerces.xs.datatypes.ObjectList |
getActualEnumeration()
A list of actual enumeration values if it exists, otherwise an empty ObjectList. |
org.apache.xerces.xs.XSObjectList |
getAnnotations()
[annotations]: a set of annotations for this simple type component if it exists, otherwise an empty XSObjectList. |
boolean |
getAnonymous()
Convenience attribute. |
org.apache.xerces.xs.XSTypeDefinition |
getBaseType()
{base type definition}: either a simple type definition or a complex type definition. |
boolean |
getBounded()
Fundamental Facet: bounded. |
short |
getBuiltInKind()
Returns the closest built-in type category this type represents or derived from. |
short |
getDefinedFacets()
[facets]: all facets defined on this type. |
org.apache.xerces.xs.datatypes.ObjectList |
getEnumerationItemTypeList()
A list of enumeration type values (as a list of ShortList objects) if it exists, otherwise returns null |
org.apache.xerces.xs.ShortList |
getEnumerationTypeList()
|
org.apache.xerces.xs.XSObjectList |
getFacets()
A list of constraining facets if it exists, otherwise an empty XSObjectList. |
short |
getFinal()
For complex types the returned value is a bit combination of the subset of { DERIVATION_EXTENSION, DERIVATION_RESTRICTION}
corresponding to final set of this type or
DERIVATION_NONE. |
boolean |
getFinite()
Fundamental Facet: cardinality. |
short |
getFixedFacets()
[facets]: all defined facets for this type which are fixed. |
org.apache.xerces.xs.XSSimpleTypeDefinition |
getItemType()
If variety is list the item type definition (an atomic or
union simple type definition) is available, otherwise
null. |
org.apache.xerces.xs.StringList |
getLexicalEnumeration()
A list of enumeration values if it exists, otherwise an empty StringList. |
java.lang.String |
getLexicalFacetValue(short facetName)
Convenience method. |
org.apache.xerces.xs.StringList |
getLexicalPattern()
A list of pattern values if it exists, otherwise an empty StringList. |
java.lang.Object |
getMaxExclusiveValue()
|
java.lang.Object |
getMaxInclusiveValue()
|
org.apache.xerces.xs.XSObjectList |
getMemberTypes()
If variety is union the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList. |
java.lang.Object |
getMinExclusiveValue()
|
java.lang.Object |
getMinInclusiveValue()
|
org.apache.xerces.xs.XSObjectList |
getMultiValueFacets()
A list of enumeration and pattern constraining facets if it exists, otherwise an empty XSObjectList. |
java.lang.String |
getName()
The name of type 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. |
java.lang.String |
getNamespace()
The [target namespace] of this object, or null if it is
unspecified. |
org.apache.xerces.xs.XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise. |
boolean |
getNumeric()
Fundamental Facet: numeric. |
short |
getOrdered()
Fundamental Facet: ordered. |
short |
getPrimitiveKind()
return an ID representing the built-in primitive base type. |
org.apache.xerces.xs.XSSimpleTypeDefinition |
getPrimitiveType()
If variety is atomic the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null. |
short |
getType()
The type of this object, i.e. |
short |
getTypeCategory()
Return whether this type definition is a simple type or complex type. |
java.lang.String |
getTypeName()
The name of a type declared for the associated element or attribute, or null if unknown. |
java.lang.String |
getTypeNamespace()
The namespace of the type declared for the associated element or attribute or null if the element does not have
declaration or if no namespace information is available. |
short |
getVariety()
[variety]: one of {atomic, list, union} or absent. |
short |
getWhitespace()
Return the whitespace corresponding to this datatype. |
boolean |
isDefinedFacet(short facetName)
Convenience method. |
boolean |
isDerivedFrom(java.lang.String typeNamespaceArg,
java.lang.String typeNameArg,
int derivationMethod)
This method returns if there is a derivation between the reference type definition, i.e. |
boolean |
isDOMDerivedFrom(java.lang.String ancestorNS,
java.lang.String ancestorName,
int derivationMethod)
Checks if a type is derived from another by restriction, given the name and namespace. |
boolean |
isEqual(java.lang.Object value1,
java.lang.Object value2)
Check whether two actual values are equal. |
boolean |
isFinal(short derivation)
{final}. |
boolean |
isFixedFacet(short facetName)
Convenience method. |
boolean |
isIdentical(java.lang.Object value1,
java.lang.Object value2)
|
boolean |
isIDType()
Check whether this type is or is derived from ID. |
protected java.lang.String |
normalize(java.lang.Object content,
short ws)
|
static java.lang.String |
normalize(java.lang.String content,
short ws)
|
void |
reset()
|
void |
setAnonymous(boolean anon)
|
protected XSSimpleTypeDecl |
setListValues(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl itemType,
org.apache.xerces.xs.XSObjectList annotations)
|
protected XSSimpleTypeDecl |
setRestrictionValues(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
org.apache.xerces.xs.XSObjectList annotations)
|
protected XSSimpleTypeDecl |
setUnionValues(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl[] memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
|
java.lang.String |
toString()
|
java.lang.Object |
validate(java.lang.Object content,
ValidationContext context,
ValidatedInfo validatedInfo)
validate a value, and return the compiled form |
java.lang.Object |
validate(java.lang.String content,
ValidationContext context,
ValidatedInfo validatedInfo)
validate a value, and return the compiled form |
void |
validate(ValidationContext context,
ValidatedInfo validatedInfo)
validate an actual value against this DV |
ValidatedInfo |
validateWithInfo(java.lang.String content,
ValidationContext context,
ValidatedInfo validatedInfo)
validate a value, and return the compiled form |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final short YEARMONTHDURATION_DT
public static final short DAYTIMEDURATION_DT
public static final short PRECISIONDECIMAL_DT
public static final short ANYATOMICTYPE_DT
public org.apache.xerces.xs.XSAnnotation lengthAnnotation
public org.apache.xerces.xs.XSAnnotation minLengthAnnotation
public org.apache.xerces.xs.XSAnnotation maxLengthAnnotation
public org.apache.xerces.xs.XSAnnotation whiteSpaceAnnotation
public org.apache.xerces.xs.XSAnnotation totalDigitsAnnotation
public org.apache.xerces.xs.XSAnnotation fractionDigitsAnnotation
public XSObjectListImpl patternAnnotations
public org.apache.xerces.xs.XSObjectList enumerationAnnotations
public org.apache.xerces.xs.XSAnnotation maxInclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation maxExclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation minInclusiveAnnotation
public org.apache.xerces.xs.XSAnnotation minExclusiveAnnotation
| Constructor Detail |
public XSSimpleTypeDecl()
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
short validateDV,
short ordered,
boolean bounded,
boolean finite,
boolean numeric,
boolean isImmutable,
short builtInKind)
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations,
short builtInKind)
protected XSSimpleTypeDecl(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
protected XSSimpleTypeDecl(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl itemType,
boolean isImmutable,
org.apache.xerces.xs.XSObjectList annotations)
protected XSSimpleTypeDecl(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl[] memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
| Method Detail |
protected XSSimpleTypeDecl setRestrictionValues(XSSimpleTypeDecl base,
java.lang.String name,
java.lang.String uri,
short finalSet,
org.apache.xerces.xs.XSObjectList annotations)
protected XSSimpleTypeDecl setListValues(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl itemType,
org.apache.xerces.xs.XSObjectList annotations)
protected XSSimpleTypeDecl setUnionValues(java.lang.String name,
java.lang.String uri,
short finalSet,
XSSimpleTypeDecl[] memberTypes,
org.apache.xerces.xs.XSObjectList annotations)
public short getType()
org.apache.xerces.xs.XSObjecttype of this object, i.e.
ELEMENT_DECLARATION.getType in interface org.apache.xerces.xs.XSObjectpublic short getTypeCategory()
org.apache.xerces.xs.XSTypeDefinitiongetTypeCategory in interface org.apache.xerces.xs.XSTypeDefinitionpublic java.lang.String getName()
org.apache.xerces.xs.XSObjectNCName, 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. For anonymous types,
the processor must construct and expose an anonymous type name that
is distinct from the name of every named type and the name of every
other anonymous type.getName in interface org.apache.xerces.xs.XSObjectpublic java.lang.String getTypeName()
org.w3c.dom.TypeInfonull if unknown.getTypeName in interface org.w3c.dom.TypeInfopublic java.lang.String getNamespace()
org.apache.xerces.xs.XSObjectnull if it is
unspecified.getNamespace in interface org.apache.xerces.xs.XSObjectpublic short getFinal()
org.apache.xerces.xs.XSTypeDefinitionDERIVATION_EXTENSION, DERIVATION_RESTRICTION}
corresponding to final set of this type or
DERIVATION_NONE. For simple types the returned value is
a bit combination of the subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
} corresponding to final set of this type or
DERIVATION_NONE.getFinal in interface org.apache.xerces.xs.XSTypeDefinitionpublic boolean isFinal(short derivation)
org.apache.xerces.xs.XSTypeDefinitionisFinal in interface org.apache.xerces.xs.XSTypeDefinitionorg.apache.xerces.xs.XSTypeDefinitionrestriction - Extension, restriction, list, union constants
(defined in XSConstants).restriction is in the final set,
otherwise false.public org.apache.xerces.xs.XSTypeDefinition getBaseType()
org.apache.xerces.xs.XSTypeDefinitiongetBaseType in interface org.apache.xerces.xs.XSTypeDefinitionpublic boolean getAnonymous()
org.apache.xerces.xs.XSTypeDefinitiongetAnonymous in interface org.apache.xerces.xs.XSTypeDefinitionpublic short getVariety()
org.apache.xerces.xs.XSSimpleTypeDefinitiongetVariety in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean isIDType()
XSSimpleTypeisIDType in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleType
public short getWhitespace()
throws DatatypeException
XSSimpleTypegetWhitespace in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypeDatatypeException - union datatypes don't have whitespace facet associated with thempublic short getPrimitiveKind()
XSSimpleTypegetPrimitiveKind in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypepublic short getBuiltInKind()
INTEGER_DV is returned.getBuiltInKind in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.XSSimpleTypeDefinition getPrimitiveType()
atomic the primitive type definition (a
built-in primitive datatype definition or the simple ur-type
definition) is available, otherwise null.getPrimitiveType in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.XSSimpleTypeDefinition getItemType()
list the item type definition (an atomic or
union simple type definition) is available, otherwise
null.getItemType in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.XSObjectList getMemberTypes()
union the list of member type definitions (a
non-empty sequence of simple type definitions) is available,
otherwise an empty XSObjectList.getMemberTypes in interface org.apache.xerces.xs.XSSimpleTypeDefinition
public void applyFacets(XSFacets facets,
short presentFacet,
short fixedFacet,
ValidationContext context)
throws InvalidDatatypeFacetException
applyFacets in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypefacets - the value of all the facetspresentFacet - bit combination value of the costraining facet
constants which are present.fixedFacet - bit combination value of the costraining facet
constants which are fixed.context - the validation contextInvalidDatatypeFacetException - exception for invalid facet values.
public java.lang.Object validate(java.lang.String content,
ValidationContext context,
ValidatedInfo validatedInfo)
throws InvalidDatatypeValueException
validate in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypecontent - the string value that needs to be validatedcontext - the validation contextvalidatedInfo - used to store validation result
public ValidatedInfo validateWithInfo(java.lang.String content,
ValidationContext context,
ValidatedInfo validatedInfo)
throws InvalidDatatypeValueException
public java.lang.Object validate(java.lang.Object content,
ValidationContext context,
ValidatedInfo validatedInfo)
throws InvalidDatatypeValueException
validate in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypecontent - the string value that needs to be validatedcontext - the validation contextvalidatedInfo - used to store validation result
public void validate(ValidationContext context,
ValidatedInfo validatedInfo)
throws InvalidDatatypeValueException
validate in interface XSSimpleTypecontext - the validation contextvalidatedInfo - used to provide the actual value and member types
public boolean isEqual(java.lang.Object value1,
java.lang.Object value2)
XSSimpleTypeisEqual in interface XSSimpleTypeorg.apache.xerces.impl.dv.XSSimpleTypevalue1 - the first valuevalue2 - the second value
public boolean isIdentical(java.lang.Object value1,
java.lang.Object value2)
public static java.lang.String normalize(java.lang.String content,
short ws)
protected java.lang.String normalize(java.lang.Object content,
short ws)
public short getOrdered()
getOrdered in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean getBounded()
getBounded in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean getFinite()
getFinite in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean getNumeric()
getNumeric in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean isDefinedFacet(short facetName)
isDefinedFacet in interface org.apache.xerces.xs.XSSimpleTypeDefinitionfacetName - The name of the facet.public short getDefinedFacets()
getDefinedFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic boolean isFixedFacet(short facetName)
isFixedFacet in interface org.apache.xerces.xs.XSSimpleTypeDefinitionfacetName - The name of the facet.public short getFixedFacets()
getFixedFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic java.lang.String getLexicalFacetValue(short facetName)
enumeration and pattern facets.getLexicalFacetValue in interface org.apache.xerces.xs.XSSimpleTypeDefinitionfacetName - The name of the facet, i.e.
FACET_LENGTH, FACET_TOTALDIGITS (see
XSConstants). To retrieve the value for a pattern or
an enumeration, see enumeration and
pattern.facetName for
this simple type definition or null.public org.apache.xerces.xs.StringList getLexicalEnumeration()
StringList.getLexicalEnumeration in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.datatypes.ObjectList getActualEnumeration()
ObjectList.public org.apache.xerces.xs.datatypes.ObjectList getEnumerationItemTypeList()
public org.apache.xerces.xs.ShortList getEnumerationTypeList()
public org.apache.xerces.xs.StringList getLexicalPattern()
StringList.getLexicalPattern in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.XSObjectList getAnnotations()
XSObjectList.getAnnotations in interface org.apache.xerces.xs.XSSimpleTypeDefinition
public boolean derivedFromType(org.apache.xerces.xs.XSTypeDefinition ancestor,
short derivation)
org.apache.xerces.xs.XSTypeDefinitionancestorType.derivedFromType in interface org.apache.xerces.xs.XSTypeDefinitionorg.apache.xerces.xs.XSTypeDefinitionancestorType - An ancestor type definition.derivationMethod - A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.ancestorType
using only derivation methods from the derivationMethod
.
public boolean derivedFrom(java.lang.String ancestorNS,
java.lang.String ancestorName,
short derivation)
org.apache.xerces.xs.XSTypeDefinitionderivedFrom in interface org.apache.xerces.xs.XSTypeDefinitionorg.apache.xerces.xs.XSTypeDefinitionnamespace - An ancestor type namespace.name - An ancestor type name.derivationMethod - A bit combination representing a subset of {
DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
}.ancestorType
using only derivation methods from the derivationMethod
.
public boolean isDOMDerivedFrom(java.lang.String ancestorNS,
java.lang.String ancestorName,
int derivationMethod)
ancestorNS - The namspace of the ancestor type declarationancestorName - The name of the ancestor type declarationderivationMethod - The derivation methodpublic void reset()
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
org.apache.xerces.xs.XSObjectnull otherwise.getNamespaceItem in interface org.apache.xerces.xs.XSObjectXSObject.getNamespaceItem()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public org.apache.xerces.xs.XSObjectList getFacets()
XSObjectList. Note: This method must not be used to
retrieve values for enumeration and pattern
facets.getFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic org.apache.xerces.xs.XSObjectList getMultiValueFacets()
XSObjectList.getMultiValueFacets in interface org.apache.xerces.xs.XSSimpleTypeDefinitionpublic java.lang.Object getMinInclusiveValue()
public java.lang.Object getMinExclusiveValue()
public java.lang.Object getMaxInclusiveValue()
public java.lang.Object getMaxExclusiveValue()
public void setAnonymous(boolean anon)
public java.lang.String getTypeNamespace()
org.w3c.dom.TypeInfonull if the element does not have
declaration or if no namespace information is available.getTypeNamespace in interface org.w3c.dom.TypeInfo
public boolean isDerivedFrom(java.lang.String typeNamespaceArg,
java.lang.String typeNameArg,
int derivationMethod)
org.w3c.dom.TypeInfoTypeInfo on which the method
is being called, and the other type definition, i.e. the one passed
as parameters.isDerivedFrom in interface org.w3c.dom.TypeInfoorg.w3c.dom.TypeInfotypeNamespaceArg - the namespace of the other type definition.typeNameArg - the name of the other type definition.derivationMethod - the type of derivation and conditions applied
between two types, as described in the list of constants provided
in this interface.false
. If the document's schema is an XML Schema, the method will
true if the reference type definition is derived from
the other type definition according to the derivation parameter. If
the value of the parameter is 0 (no bit is set to
1 for the derivationMethod parameter),
the method will return true if the other type
definition can be reached by recursing any combination of {base
type definition}, {item type definition}, or {member type
definitions} from the reference type definition.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||