Interface SchemaReference

All Superinterfaces:
Serializable
All Known Subinterfaces:
SchemaImport
All Known Implementing Classes:
SchemaImportImpl, SchemaReferenceImpl

public interface SchemaReference extends Serializable
Represents an include or a redefine element within a schema element.
Author:
Jeremy Hughes <hughesj@uk.ibm.com>
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ID attribute of the referenced schema.
    Gets the referenced schema, represented as a LightWeightSchema.
    Gets the schemaLocation attribute of the referenced schema.
    void
    Sets the ID attribute of the referenced schema.
    void
    setReferencedSchema(Schema referencedSchema)
    Sets the referenced schema to a LightWeightSchema.
    void
    setSchemaLocationURI(String schemaLocation)
    Sets the schemaLocation attribute of the referenced schema.
  • Method Details

    • getId

      String getId()
      Gets the ID attribute of the referenced schema.
      Returns:
      the id string
    • setId

      void setId(String id)
      Sets the ID attribute of the referenced schema.
      Parameters:
      id - The id string to set.
    • getSchemaLocationURI

      String getSchemaLocationURI()
      Gets the schemaLocation attribute of the referenced schema.
      Returns:
      the schemaLocation string.
    • setSchemaLocationURI

      void setSchemaLocationURI(String schemaLocation)
      Sets the schemaLocation attribute of the referenced schema.
      Parameters:
      schemaLocation - The schemaLocation string to set.
    • getReferencedSchema

      Schema getReferencedSchema()
      Gets the referenced schema, represented as a LightWeightSchema.
      Returns:
      the referenced LightWeightSchema.
    • setReferencedSchema

      void setReferencedSchema(Schema referencedSchema)
      Sets the referenced schema to a LightWeightSchema.
      Parameters:
      referencedSchema - The LightWeightSchema to set.