org.apache.ws.policy.util
Class SchemaRegistry

java.lang.Object
  extended byorg.apache.ws.policy.util.SchemaRegistry

public class SchemaRegistry
extends java.lang.Object

SchemaRegistry holds schemas associated with URIs.


Constructor Summary
SchemaRegistry()
           
 
Method Summary
 org.w3c.dom.Element lookup(java.lang.String uri)
          Returns the schema element associated with uri String
 void register(java.lang.String uri, org.w3c.dom.Element schemaElement)
          Registers a schema element with a uri.
 void unregister(java.lang.String uri)
          Unregisters the schema element associated with the specified uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaRegistry

public SchemaRegistry()
Method Detail

lookup

public org.w3c.dom.Element lookup(java.lang.String uri)
Returns the schema element associated with uri String

Parameters:
uri - the URI which uniquely identify the schema element
Returns:
the schema element which is associated with the uri.

register

public void register(java.lang.String uri,
                     org.w3c.dom.Element schemaElement)
Registers a schema element with a uri.

Parameters:
uri - the key for the element
schemaElement - the schema element to associate with the uri

unregister

public void unregister(java.lang.String uri)
Unregisters the schema element associated with the specified uri.

Parameters:
uri - the uri of the schema element


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.