|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TypeInfo
interface represents a type referenced from
Element
or Attr
nodes, specified in the schemas
associated with the document. The type is a pair of a namespace URI and
name properties, and depends on the document's schema.
Field Summary | |
static int |
DERIVATION_EXTENSION
|
static int |
DERIVATION_LIST
|
static int |
DERIVATION_RESTRICTION
|
static int |
DERIVATION_UNION
|
Method Summary | |
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. |
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. |
Field Detail |
public static final int DERIVATION_RESTRICTION
public static final int DERIVATION_EXTENSION
public static final int DERIVATION_UNION
public static final int DERIVATION_LIST
Method Detail |
public java.lang.String getTypeName()
null
if unknown.
public java.lang.String getTypeNamespace()
null
if the element does not have
declaration or if no namespace information is available.
public boolean isDerivedFrom(java.lang.String typeNamespaceArg, java.lang.String typeNameArg, int derivationMethod)
TypeInfo
on which the method
is being called, and the other type definition, i.e. the one passed
as parameters.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |