|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.parser.woml.WOMLDefaultNamespaceProvider
public class WOMLDefaultNamespaceProvider
DefaultNamespaceProvider is a Map-based container for namespaces. It maintains a map of namespace id mappings to namespaces in the order in which they were added. The public getNamespacesById() method provides the Map for adding or removing namespaces. The WOMLNamespace.getNamespaces() method returns the collection of WOMLNamespace objects in the order in which they were added.
Constructor Summary | |
---|---|
WOMLDefaultNamespaceProvider()
|
Method Summary | |
---|---|
void |
addNamespace(WOMLNamespace namespace)
|
boolean |
containsNamespace(String namespace)
|
WOMLNamespace |
getDefaultNamespace()
Returns the default WOMLNamespace for the provider that will be used in the absence of another namespace in the provider that claims a particular declaration. |
WOMLNamespace |
getNamespace(String namespace)
|
String |
getNamespaceId(WOMLNamespace namespace)
Returns the namespace identifier of the given namespace. |
Collection |
getNamespaces()
Returns a collection of all namespaces that the provider manages, in the order in which they should be used to contribute to declarations. |
Map |
getNamespacesById()
|
void |
setDefaultNamespace(WOMLNamespace value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WOMLDefaultNamespaceProvider()
Method Detail |
---|
public boolean containsNamespace(String namespace)
namespace
-
public Map getNamespacesById()
public void setDefaultNamespace(WOMLNamespace value)
public void addNamespace(WOMLNamespace namespace)
public WOMLNamespace getDefaultNamespace()
WOMLNamespaceProvider
getDefaultNamespace
in interface WOMLNamespaceProvider
public WOMLNamespace getNamespace(String namespace)
getNamespace
in interface WOMLNamespaceProvider
namespace
-
WOMLNamespaceProvider.getNamespace(java.lang.String)
public String getNamespaceId(WOMLNamespace namespace)
WOMLNamespaceProvider
getNamespaceId
in interface WOMLNamespaceProvider
public Collection getNamespaces()
WOMLNamespaceProvider
getNamespaces
in interface WOMLNamespaceProvider
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |