javax.wsdl.extensions.schema
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

Method Summary
 java.lang.String getId()
          Gets the ID attribute of the referenced schema.
 Schema getReferencedSchema()
          Gets the referenced schema, represented as a LightWeightSchema.
 java.lang.String getSchemaLocationURI()
          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 Detail

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.


Copyright ? 2003,2006 IBM. All Rights Reserved.