站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 webservice API Documentation 英文版文档

NamespaceRegistry (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档


org.jboss.webservice.deployment
Class NamespaceRegistry

java.lang.Object
  extended byorg.jboss.webservice.deployment.NamespaceRegistry

public class NamespaceRegistry
extends Object

A simple namespace registry

Since:
08-June-2004
Author:
thomas.diesler@jboss.org

Field Summary
static String PREFIX_XML_SCHEMA
           
static String PREFIX_XML_SCHEMA_INSTANCE
           
static String URI_XML_SCHEMA
           
static String URI_XML_SCHEMA_INSTANCE
           
 
Constructor Summary
NamespaceRegistry()
           
 
Method Summary
 String getNamespaceURI(String prefix)
           
 String getPrefix(String namespaceURI)
           
 Iterator getRegisteredNamespaceURIs()
           
 String registerNamespaceURI(String namespaceURI, String prefix)
          Register the given namespaceURI/prefix combination.
 javax.xml.namespace.QName registerQName(javax.xml.namespace.QName qname)
          Register a QName and return a QName that is guarantied to have a prefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_XML_SCHEMA

public static final String PREFIX_XML_SCHEMA
See Also:
Constant Field Values

URI_XML_SCHEMA

public static final String URI_XML_SCHEMA
See Also:
Constant Field Values

PREFIX_XML_SCHEMA_INSTANCE

public static final String PREFIX_XML_SCHEMA_INSTANCE
See Also:
Constant Field Values

URI_XML_SCHEMA_INSTANCE

public static final String URI_XML_SCHEMA_INSTANCE
See Also:
Constant Field Values
Constructor Detail

NamespaceRegistry

public NamespaceRegistry()
Method Detail

registerQName

public javax.xml.namespace.QName registerQName(javax.xml.namespace.QName qname)
Register a QName and return a QName that is guarantied to have a prefix


registerNamespaceURI

public String registerNamespaceURI(String namespaceURI,
                                   String prefix)
Register the given namespaceURI/prefix combination. In case the prefix is null, it will be assigend.

Parameters:
namespaceURI - The namespaceURI
prefix - The corresponding prefix, maybe null
Returns:
A prefix, never null

getPrefix

public String getPrefix(String namespaceURI)

getNamespaceURI

public String getNamespaceURI(String prefix)

getRegisteredNamespaceURIs

public Iterator getRegisteredNamespaceURIs()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.