org.systinet.wasp.dd
Interface Schema

All Superinterfaces:
DeploymentPart

public interface Schema
extends DeploymentPart

This interface is used for configuring schema repository.

Since:
4.0
Component:
Core

Method Summary
 java.lang.String getNamespaceURI()
          Returns the namespace URI of the schema.
 java.lang.String getSchemaLocation()
          Returns the location of the schema.
 void setNamespaceURI(java.lang.String namespaceURI)
          Sets the namespace URI of the schema.
 void setSchemaLocation(java.lang.String schemaLocation)
          Sets the location of the schema document.
 
Methods inherited from interface org.systinet.wasp.dd.DeploymentPart
getDeploymentDescriptor
 

Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns the namespace URI of the schema.

Returns:
the namespace URI of the schema

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Sets the namespace URI of the schema.

Parameters:
namespaceURI - the namespace URI of the schema

getSchemaLocation

public java.lang.String getSchemaLocation()
Returns the location of the schema. Location may be relative to the deployment descriptor. Absolute location may use resource:schema for accessing files in the package.

Returns:
the location of schema document

setSchemaLocation

public void setSchemaLocation(java.lang.String schemaLocation)
Sets the location of the schema document. Location may be relative to the deployment descriptor. Absolute location may use resource:schema for accessing files in the package.

Parameters:
schemaLocation - the location of schema document