Interface XMLSchemaReference

All Known Implementing Classes:
XMLSchemaClassPathReference, XMLSchemaFileReference, XMLSchemaReference, XMLSchemaURLReference

public interface XMLSchemaReference
A schema reference is used to access a schema in order to validate a document.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the path to be traversed for validation purposes.
    int
    Indicates if the schema reference references a simple type definition, complex type definition, element or group
    A URL which referenes the Schema.
  • Field Details

  • Method Details

    • getSchemaContext

      String getSchemaContext()
      Returns the path to be traversed for validation purposes.
      Returns:
      a string represented the path to be traversed
    • getType

      int getType()
      Indicates if the schema reference references a simple type definition, complex type definition, element or group
      Returns:
      COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5
    • getURL

      URL getURL()
      A URL which referenes the Schema.
      Returns:
      the schema URL