org.jboss.dna.graph.properties
Interface NamespaceRegistry.Namespace

All Known Implementing Classes:
BasicNamespace
Enclosing interface:
NamespaceRegistry

@Immutable
public static interface NamespaceRegistry.Namespace

Representation of a single namespace at a single point in time. This object does not change to reflect changes made to the registry.

Author:
Randall Hauch
See Also:
NamespaceRegistry.getNamespaces()

Method Summary
 String getNamespaceUri()
          Get the URI for the namespace
 String getPrefix()
          Get the prefix for the namespace
 

Method Detail

getPrefix

String getPrefix()
Get the prefix for the namespace

Returns:
the prefix; never null but possibly the empty string

getNamespaceUri

String getNamespaceUri()
Get the URI for the namespace

Returns:
the namespace URI; never null but possibly the empty string


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.