API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom. TypeInfo View Source
Author(s)
Since
DOM Level 3
Version
Serial
Hierarchy
 TypeInfo
Subinterfaces
Description
public interface TypeInfo
  The TypeInfo interface represents a type referenced from Element or Attr nodes, specified in the schemas associated with the document.
See also:   
Methods
Hide/Show inherited methods
public String getTypeName ()
The name of a type declared for the associated element or attribute, or null if unknown.
public 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.
public boolean isDerivedFrom (String typeNamespaceArg, String typeNameArg, int derivationMethod)
  This method returns if there is a derivation between the reference type definition, i.e.
Fields
Hide/Show inherited fields
publicfinalstatic int DERIVATION_EXTENSION = "2"
  If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by extension.
publicfinalstatic int DERIVATION_LIST = "8"
  If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the list.
publicfinalstatic int DERIVATION_RESTRICTION = "1"
  If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the derivation by restriction if complex types are involved, or a restriction if simple types are involved.
publicfinalstatic int DERIVATION_UNION = "4"
  If the document's schema is an XML Schema [XML Schema Part 1] , this constant represents the union if simple types are involved.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar