| java.lang.Object org.jibx.extras.QName
QName | public class QName (Code) | | 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.
author: Dennis M. Sosnoski |
Constructor Summary | |
public | QName() Default constructor. | public | QName(String uri, String prefix, String name) Constructor from full set of components. |
QName | public QName()(Code) | | Default constructor.
|
QName | public QName(String uri, String prefix, String name)(Code) | | Constructor from full set of components.
Parameters: uri - Parameters: prefix - Parameters: name - |
deserialize | public static QName deserialize(String text, IUnmarshallingContext ictx) throws JiBXException(Code) | | JiBX deserializer method. This is intended for use as a deserializer for
instances of the class.
Parameters: text - value text Parameters: ictx - unmarshalling context created class instance throws: JiBXException - on error in unmarshalling |
getPrefix | public String getPrefix()(Code) | | Get namespace prefix.
prefix |
serialize | public static String serialize(QName qname, IMarshallingContext ictx) throws JiBXException(Code) | | JiBX serializer method. This is intended for use as a serializer for
instances of the class. The namespace must be active in the output
document at the point where this is called.
Parameters: qname - instance to be serialized Parameters: ictx - unmarshalling context created class instance throws: JiBXException - on error in marshalling |
setName | public void setName(String name)(Code) | | Set local name.
Parameters: name - name |
setPrefix | public void setPrefix(String prefix)(Code) | | Set namespace prefix.
Parameters: prefix - prefix |
setUri | public void setUri(String uri)(Code) | | Set namespace URI.
Parameters: uri - uri |
|
|