| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.datatypes.QualifiedName
public class QualifiedName
This class represent a qualified name for something. A name is thought to be built from an optional prefix and/or a
 local name E.g.: 
- deegree - pre:deegree 
 a name may be located within a namespace assigned to the names prefix (or as default namespace if the name has not
 prefix).
| Constructor Summary | |
|---|---|
QualifiedName(QName name)
Creates a new QualifiedName instance from a QName | 
|
QualifiedName(String name)
 | 
|
QualifiedName(String prefix,
                           String localName,
                           URI namespace)
 | 
|
QualifiedName(String name,
                           URI namespace)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object o)
 | 
 String | 
getFormattedString()
 | 
 String | 
getLocalName()
returns the local part of the name  | 
 URI | 
getNamespace()
returns the namespace the name is located within (may be null)  | 
 String | 
getPrefix()
returns the names prefix  | 
 String | 
getPrefixedName()
returns a string representation of a QualifiedName. prefix and local name are separated by ':'.  | 
 int | 
hashCode()
 | 
 boolean | 
isInNamespace(URI ns)
 | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public QualifiedName(QName name)
QualifiedName instance from a QName
name - public QualifiedName(String name)
name - local name/simple (without prefix)
public QualifiedName(String name,
                     URI namespace)
name - complete name including a prefixnamespace - namespace the name is located within
public QualifiedName(String prefix,
                     String localName,
                     URI namespace)
prefix - localName - local/simple name (e.g. deegree)namespace - namespace the name is located within| Method Detail | 
|---|
public String getPrefixedName()
public String getFormattedString()
public String getPrefix()
public String getLocalName()
public URI getNamespace()
public boolean isInNamespace(URI ns)
ns - the namespace to checkfor
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org