Package javax.wsdl.extensions.schema
Interface SchemaReference
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SchemaImport
- All Known Implementing Classes:
SchemaImportImpl
,SchemaReferenceImpl
Represents an include or a redefine element within a schema element.
- Author:
- Jeremy Hughes <hughesj@uk.ibm.com>
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the ID attribute of the referenced schema.Gets the referenced schema, represented as a LightWeightSchema.Gets the schemaLocation attribute of the referenced schema.void
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
String getId()Gets the ID attribute of the referenced schema.- Returns:
- the id string
-
setId
Sets the ID attribute of the referenced schema.- Parameters:
id
- The id string to set.
-
getSchemaLocationURI
String getSchemaLocationURI()Gets the schemaLocation attribute of the referenced schema.- Returns:
- the schemaLocation string.
-
setSchemaLocationURI
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
Sets the referenced schema to a LightWeightSchema.- Parameters:
referencedSchema
- The LightWeightSchema to set.
-