org.modeshape.graph.property
Interface Name

All Superinterfaces:
Comparable<Name>, Readable, Serializable
All Known Implementing Classes:
BasicName

@Immutable
public interface Name
extends Comparable<Name>, Serializable, Readable

A qualified name consisting of a namespace and a local name.


Method Summary
 String getLocalName()
          Get the local name part of this qualified name.
 String getNamespaceUri()
          Get the URI for the namespace used in this qualified name.
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.modeshape.graph.property.Readable
getString, getString, getString, getString, getString
 

Method Detail

getLocalName

String getLocalName()
Get the local name part of this qualified name.

Returns:
the local name; never null

getNamespaceUri

String getNamespaceUri()
Get the URI for the namespace used in this qualified name.

Returns:
the URI; never null but possibly empty


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