Interface SchemaReference

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

public interface SchemaReference extends java.io.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
    java.lang.String
    Gets the ID attribute of the referenced schema.
    Gets the referenced schema, represented as a LightWeightSchema.
    java.lang.String
    Gets the schemaLocation attribute of the referenced schema.
    void
    setId(java.lang.String id)
    Sets the ID attribute of the referenced schema.
    void
    setReferencedSchema(Schema referencedSchema)
    Sets the referenced schema to a LightWeightSchema.
    void
    setSchemaLocationURI(java.lang.String schemaLocation)
    Sets the schemaLocation attribute of the referenced schema.
  • Method Details

    • getId

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

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

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

      void setSchemaLocationURI(java.lang.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.