当前页面:
在线文档首页 >
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
org.jboss.webservice.deployment.NamespaceRegistry
- public class NamespaceRegistry
- extends Object
A simple namespace registry
- Since:
- 08-June-2004
- Author:
- thomas.diesler@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NamespaceRegistry
public NamespaceRegistry()
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 namespaceURIprefix
- 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.