|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(String uri,
String prefix,
String name)
Constructor from full set of components. |
|
| Method Summary | |
|---|---|
static QName |
deserialize(String text,
IUnmarshallingContext ictx)
JiBX deserializer method. |
String |
getName()
Get local name. |
String |
getPrefix()
Get namespace prefix. |
String |
getUri()
Get namespace URI. |
static String |
serialize(QName qname,
IMarshallingContext ictx)
JiBX serializer method. |
void |
setName(String name)
Set local name. |
void |
setPrefix(String prefix)
Set namespace prefix. |
void |
setUri(String uri)
Set namespace URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QName()
public QName(String uri,
String prefix,
String name)
uri - prefix - name - | Method Detail |
|---|
public String getName()
public void setName(String name)
name - namepublic String getPrefix()
public void setPrefix(String prefix)
prefix - prefixpublic String getUri()
public void setUri(String uri)
uri - uri
public static QName deserialize(String text,
IUnmarshallingContext ictx)
throws JiBXException
text - value textictx - unmarshalling context
JiBXException - on error in unmarshalling
public static 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 | ||||||||