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

String
getId()
Gets the ID attribute of the referenced schema.
Schema
getReferencedSchema()
Gets the referenced schema, represented as a LightWeightSchema.
String
getSchemaLocationURI()
Gets the schemaLocation attribute of the referenced schema.
void
setId(String id)
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

public String getId()
Gets the ID attribute of the referenced schema.

Returns:
the id string


getReferencedSchema

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

Returns:
the referenced LightWeightSchema.


getSchemaLocationURI

public String getSchemaLocationURI()
Gets the schemaLocation attribute of the referenced schema.

Returns:
the schemaLocation string.


setId

public void setId(String id)
Sets the ID attribute of the referenced schema.

Parameters:
id - The id string to set.


setReferencedSchema

public void setReferencedSchema(Schema referencedSchema)
Sets the referenced schema to a LightWeightSchema.

Parameters:
referencedSchema - The LightWeightSchema to set.


setSchemaLocationURI

public 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.