|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.schema.support.QNameConverter
public class QNameConverter
Qualified name serializer/deserializer for use in schema definitions. This uses special handling for values using the default namespace, checking if the schema being processed is a no-namespace schema being included into a schema with a namespace. If it is, the including namespace is used as the default.
| Constructor Summary | |
|---|---|
QNameConverter()
|
|
| Method Summary | |
|---|---|
static void |
patchQNameNamespace(String uri,
QName qname)
Patch qualified name with effective namespace from schema. |
static String |
serialize(QName qname,
IMarshallingContext ictx)
Qualified name serializer method for use within schema definitions. |
static String |
serializeList(QName[] qnames,
IMarshallingContext ictx)
Qualified name list serializer method for use within schema definitions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QNameConverter()
| Method Detail |
|---|
public static String serialize(QName qname,
IMarshallingContext ictx)
throws JiBXException
qname - value to be serializedictx - unmarshalling context
JiBXException - on error in marshalling
public static String serializeList(QName[] qnames,
IMarshallingContext ictx)
throws JiBXException
qnames - array of names to be serializedictx - unmarshalling context
JiBXException - on error in marshalling
public static void patchQNameNamespace(String uri,
QName qname)
uri - effective namespace URI from schemaqname - qualified name (call ignored if null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||