|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.xml.tokenizer.AbstractName
org.millscript.commons.xml.tokenizer.PrefixedName
public class PrefixedName
This class provides a Name implementation for prefixed, or
namespace aware, names.
| Field Summary |
|---|
| Fields inherited from interface org.millscript.commons.xml.api.Name |
|---|
XML, XMLNS |
| Constructor Summary | |
|---|---|
PrefixedName(java.lang.String n,
java.lang.String q,
int prefixLength)
Constructs a new prefixed name, in the specified namespace, with the specified qualified name and prefix length within the qualified name. |
|
| Method Summary | |
|---|---|
org.millscript.commons.alert.Alert |
decorate(org.millscript.commons.alert.Alert alert)
|
java.lang.String |
getLocalName()
Returns the local part of this name. |
java.lang.String |
getNamespace()
Returns the namespace this name belongs to. |
java.lang.String |
getPrefix()
Returns the prefix part of this name. |
java.lang.String |
getQName()
Returns the qualified name. |
PrefixedName |
setNamespace(org.millscript.commons.util.IMap<java.lang.String,java.lang.String> scope)
|
java.lang.String |
toString()
|
| Methods inherited from class org.millscript.commons.xml.tokenizer.AbstractName |
|---|
compareTo, equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixedName(java.lang.String n,
java.lang.String q,
int prefixLength)
n - the namespace this name belongs inq - the fully qualified nameprefixLength - the length of the prefix part of the qualified name| Method Detail |
|---|
public org.millscript.commons.alert.Alert decorate(org.millscript.commons.alert.Alert alert)
AlertDecorator.decorate(org.millscript.commons.alert.Alert)public java.lang.String getLocalName()
Name
String for the local part of this nameName.getLocalName()public java.lang.String getNamespace()
Name
String for the namespace this name belongs toName.getNamespace()public java.lang.String getPrefix()
Name
String for the prefix part of this nameName.getPrefix()public java.lang.String getQName()
Name
String for the qualified nameName.getQName()public PrefixedName setNamespace(org.millscript.commons.util.IMap<java.lang.String,java.lang.String> scope)
setNamespace in class AbstractNameorg.millscript.commons.xml.tokenizer.ProtoName#setNamespace(IMap)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||