Interface ISchemaContract

All Known Implementing Classes:
SchemaContract

public interface ISchemaContract
Since:
9.0
Author:
a.pragt
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the name of this contract.
    getXsd(String name)
    This method returns the binary content of the xsd.
    This method returns the name of the schemas.
  • Method Details

    • getName

      String getName()
      This method returns the name of this contract.
      Returns:
      The name of the contract, never null or empty.
    • getXsds

      String[] getXsds()
      This method returns the name of the schemas.
      Returns:
      The available schemas.
    • getXsd

      IXsdDefinition getXsd(String name)
      This method returns the binary content of the xsd.
      Parameters:
      name - The name of the xsd.
      Returns:
      The bytes of the xsd.
      Throws:
      UnknownXsdException - when the xsd does not exist