Class QName
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.xni.QName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleanequals(Object object)StringgetLocalpart()StringgetPrefix()StringgetRawname()StringgetUri()inthashCode()voidsetPrefix(String prefix)voidsetRawname(String rawname)voidsetUri(String uri)voidsetValues(String prefix, String localpart, String rawname, String uri)Convenience method to set the values of the qname components.voidsetValues(QName qname)Convenience method to set the values of the qname components.QNamesplitQName()StringtoString()
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getLocalpart
public String getLocalpart()
-
getRawname
public String getRawname()
-
setRawname
public void setRawname(String rawname)
-
getUri
public String getUri()
-
setUri
public void setUri(String uri)
-
setValues
public void setValues(QName qname)
Convenience method to set the values of the qname components.- Parameters:
qname- The qualified name to be copied.
-
setValues
public void setValues(String prefix, String localpart, String rawname, String uri)
Convenience method to set the values of the qname components.- Parameters:
prefix- The qname prefix. (e.g. "a")localpart- The qname localpart. (e.g. "foo")rawname- The qname rawname. (e.g. "a:foo")uri- The URI binding. (e.g. "http://foo.com/mybinding")
-
splitQName
public QName splitQName()
-
-