|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.extras.QName
public class QName
Representation of a qualified name. This includes the serializer/deserializer methods for the representation. It assumes that the actual namespace declarations are being handled separately for marshalling.
Constructor Summary | |
---|---|
QName()
Default constructor. |
|
QName(java.lang.String uri,
java.lang.String prefix,
java.lang.String name)
Constructor from full set of components. |
Method Summary | |
---|---|
static QName |
deserialize(java.lang.String text,
IUnmarshallingContext ictx)
JiBX deserializer method. |
java.lang.String |
getName()
Get local name. |
java.lang.String |
getPrefix()
Get namespace prefix. |
java.lang.String |
getUri()
Get namespace URI. |
static java.lang.String |
serialize(QName qname,
IMarshallingContext ictx)
JiBX serializer method. |
void |
setName(java.lang.String name)
Set local name. |
void |
setPrefix(java.lang.String prefix)
Set namespace prefix. |
void |
setUri(java.lang.String uri)
Set namespace URI. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QName()
public QName(java.lang.String uri, java.lang.String prefix, java.lang.String name)
uri
- prefix
- name
- Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- namepublic java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- prefixpublic java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- uripublic static QName deserialize(java.lang.String text, IUnmarshallingContext ictx) throws JiBXException
text
- value textictx
- unmarshalling context
JiBXException
- on error in unmarshallingpublic static java.lang.String serialize(QName qname, IMarshallingContext ictx) throws JiBXException
qname
- instance to be serializedictx
- unmarshalling context
JiBXException
- on error in marshalling
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |