javax.wsdl.extensions.schema

Interface SchemaReference

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

public interface SchemaReference
extends Serializable

Represents an include or a redefine element within a schema element.
Author:
Jeremy Hughes

Method Summary

abstract String
getId()
Gets the ID attribute of the referenced schema.
abstract Schema
getReferencedSchema()
Gets the referenced schema, represented as a LightWeightSchema.
abstract String
getSchemaLocationURI()
Gets the schemaLocation attribute of the referenced schema.
abstract void
setId(String id)
Sets the ID attribute of the referenced schema.
abstract void
setReferencedSchema(Schema referencedSchema)
Sets the referenced schema to a LightWeightSchema.
abstract void
setSchemaLocationURI(String schemaLocation)
Sets the schemaLocation attribute of the referenced schema.

Method Details

getId

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

getReferencedSchema

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

getSchemaLocationURI

public abstract String getSchemaLocationURI()
Gets the schemaLocation attribute of the referenced schema.
Returns:
the schemaLocation string.

setId

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

setReferencedSchema

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

setSchemaLocationURI

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

Copyright B) 2003,2006 IBM. All Rights Reserved.