javax.wsdl.extensions.schema

Interface SchemaReference

public interface SchemaReference extends Serializable

Represents an include or a redefine element within a schema element.

Author: Jeremy Hughes

Method Summary
abstract StringgetId()
Gets the ID attribute of the referenced schema.
abstract SchemagetReferencedSchema()
Gets the referenced schema, represented as a LightWeightSchema.
abstract StringgetSchemaLocationURI()
Gets the schemaLocation attribute of the referenced schema.
abstract voidsetId(String id)
Sets the ID attribute of the referenced schema.
abstract voidsetReferencedSchema(Schema referencedSchema)
Sets the referenced schema to a LightWeightSchema.
abstract voidsetSchemaLocationURI(String schemaLocation)
Sets the schemaLocation attribute of the referenced schema.

Method Detail

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,2005 IBM. All Rights Reserved.