This Level 3 interface represents information about the type of an Element or Attr node. Obtain a TypeInfo object by calling the getSchemaTypeInfo( ) method of an Element or Attr . Note that TypeInfo information is only available if the document has been validated against a W3C XML Schema. The methods of TypeInfo return the name and namespace of the element or attribute type. isDerivedFrom( ) determines if the type is a derivative of another named type. The constants defined by the interface specify different derivation techniques for types. See also java.xml.validation.TypeInfoProvider . public interface TypeInfo { // Public Constants public static final int DERIVATION_EXTENSION ; =2 public static final int DERIVATION_LIST ; =8 public static final int DERIVATION_RESTRICTION ; =1 public static final int DERIVATION_UNION ; =4 // Public Instance Methods String getTypeName ( ); String getTypeNamespace ( ); boolean isDerivedFrom (String typeNamespaceArg , String typeNameArg , int derivationMethod ); } Returned Byjavax.xml.validation.TypeInfoProvider.{getAttributeTypeInfo( ) , getElementTypeInfo( )} , Attr.getSchemaTypeInfo( ) , Element.getSchemaTypeInfo( ) |