Interface IDocumentStructureProvider


public interface IDocumentStructureProvider
Abstract document structure definition. This information can be used for variety of purposes, for example for generating a java type that corresponds to this document structure, or for caching java type bean info. This interface does not fully support self-referencing definitions, i.e. a field that references back to another field of the same document.
  • Field Details

  • Method Details

    • getDocumentInfo

      Return document structure using IDocumentStructureProvider.IFieldInfo for the document itself with the following assumptions:
      • getName may return null
      • getType may return null
      • isReadOnly must return false
      • isComplexType must return true
      • isArray must return false
      • getFields must return non-empty array
      Returns:
      document structure definition
    • getDocumentType

      Returns document type for this provider
      Returns:
    • getDocumentURL

      String getDocumentURL()
      Return URL accessible location of this document if available
      Returns:
      null if unknown