public class QualifiedName extends QName
Constructor and Description |
---|
QualifiedName(String namespaceURI,
String localPart) |
QualifiedName(String namespaceURI,
String localPart,
String prefix) |
Modifier and Type | Method and Description |
---|---|
static QualifiedName |
build(String targetNamespace,
String name,
String prefix)
This method is used to replicate a "feature" of the standard encoder, when no prefix can be
found, "null" will be used instead of having the code throw an exception
|
QualifiedName |
derive(String prefix)
Derives a new
QualifiedName with the given prefix, or returns itself if the prefix is
the same alredy in use |
QualifiedName |
derive(String prefix,
String uri) |
String |
getQualifiedName() |
equals, getLocalPart, getNamespaceURI, getPrefix, hashCode, toString, valueOf
public String getQualifiedName()
public QualifiedName derive(String prefix)
QualifiedName
with the given prefix, or returns itself if the prefix is
the same alredy in useprefix
- public QualifiedName derive(String prefix, String uri)
public static QualifiedName build(String targetNamespace, String name, String prefix)
targetNamespace
- name
- prefix2
- Copyright © 1996–2019 Geotools. All rights reserved.