Interface SDOXSDHelper

All Superinterfaces:
XSDHelper
All Known Implementing Classes:
SDOXSDHelperDelegate, SDOXSDHelperDelegator

public interface SDOXSDHelper extends XSDHelper

Purpose: Provides access to additional information when the Type or Property is defined by an XML Schema (XSD).

Responsibilities:

  • Define methods define Types from an XSD.
  • Generate methods generate an XSD from Types.
  • Other Methods return null/false for exception conditions.
  • Method Details

    • getGlobalProperty

      Property getGlobalProperty(QName qname, boolean isElement)
      INTERNAL:
      Parameters:
      qname -
      isElement -
      Returns:
    • define

      List define(Source xsdSource, SchemaResolver schemaResolver)
      INTERNAL:
      Parameters:
      xsdSource -
      schemaResolver -
      Returns:
    • generate

      String generate(List types, SchemaLocationResolver schemaLocationResolver)
      INTERNAL:
      Parameters:
      types -
      schemaLocationResolver -
      Returns:
    • buildAppInfoMap

      Map buildAppInfoMap(List appInfoElements)
      INTERNAL:
      Parameters:
      appInfoElements -
      Returns:
    • getHelperContext

      HelperContext getHelperContext()
      INTERNAL: Return the helperContext that this instance is associated with.
      Returns:
    • setHelperContext

      void setHelperContext(HelperContext helperContext)
      INTERNAL: Set the helperContext that this instance is associated with.
      Parameters:
      helperContext -
    • reset

      void reset()
      INTERNAL:
    • addGlobalProperty

      void addGlobalProperty(QName qname, Property prop, boolean isElement)
      INTERNAL:
      Parameters:
      qname -
      prop -
      isElement - Register the given property with the given qname.