Interface IElementDecl

All Known Implementing Classes:
ElementDecl

public interface IElementDecl
This is a marker interface that acts as a surrogate for an object representing a global element declaration. The real implementation of these declarations is available in the schema-aware version of the Saxon product.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the schema component
    int
    Get the name of the schema component
    Get the simple or complex type associated with the element or attribute declaration
    boolean
    Determine, in the case of an Element Declaration, whether there are type alternatives defined
    boolean
    Determine, in the case of an Element Declaration, whether the declaration is abstract
    boolean
    Determine, in the case of an Element Declaration, whether it is nillable.
  • Method Details

    • getFingerprint

      int getFingerprint()
      Get the name of the schema component
      Returns:
      the fingerprint of the component name
    • getComponentName

      StructuredQName getComponentName()
      Get the name of the schema component
      Returns:
      the component name as a structured QName
    • getType

      Get the simple or complex type associated with the element or attribute declaration
      Returns:
      the simple or complex type
      Throws:
      MissingComponentException
    • isNillable

      boolean isNillable()
      Determine, in the case of an Element Declaration, whether it is nillable.
    • isAbstract

      boolean isAbstract()
      Determine, in the case of an Element Declaration, whether the declaration is abstract
    • hasTypeAlternatives

      boolean hasTypeAlternatives()
      Determine, in the case of an Element Declaration, whether there are type alternatives defined
      Returns:
      true if the element uses conditional type assignment