com.sapportals.wcm.util.name

Interface IName

All Known Subinterfaces:
IOrderedRelationType, IPropertyName, IRelationType, ISortPropertyName
All Known Implementing Classes:
IllegalPropertyNameException, Name, PropertyName, SortPropertyName

public interface IName

Generic interface for the representation of namespace-qualified names.

Copyright (c) SAP AG 2001-2002


Method Summary
 String getName()
          Returns the local name.
 String getNamespace()
          Returns the namespace URI (a missing namespace is mapped to an empty string).
 String getNamespaceOrNull()
          Returns the namespace URI (a missing namespace is mapped to null ).
 

Method Detail

getNamespace

public String getNamespace()
Returns the namespace URI (a missing namespace is mapped to an empty string).

Returns:
namespace

getNamespaceOrNull

public String getNamespaceOrNull()
Returns the namespace URI (a missing namespace is mapped to null ). Use this function if the value is going to be passed to a XML DOM level 2 method.

Returns:
namespaceOrNull

getName

public String getName()
Returns the local name.

Returns:
name


Copyright 2006 SAP AG Complete Copyright Notice