public class HandlerChainsStringQNameAdapter extends XmlAdapter<java.lang.String,javax.xml.namespace.QName>
Constructor and Description |
---|
HandlerChainsStringQNameAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(javax.xml.namespace.QName name)
Convert a bound type to a value type.
|
void |
setHandlerChainsNamespaceFilter(JaxbJavaee.HandlerChainsNamespaceFilter xmlFilter) |
void |
setNamespaceContext(javax.xml.namespace.NamespaceContext namespaceContext) |
javax.xml.namespace.QName |
unmarshal(java.lang.String value)
Convert a value type to a bound type.
|
public javax.xml.namespace.QName unmarshal(java.lang.String value) throws java.lang.Exception
XmlAdapter
unmarshal
in class XmlAdapter<java.lang.String,javax.xml.namespace.QName>
value
- The value to be converted. Can be null.java.lang.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.public java.lang.String marshal(javax.xml.namespace.QName name) throws java.lang.Exception
XmlAdapter
marshal
in class XmlAdapter<java.lang.String,javax.xml.namespace.QName>
name
- The value to be convereted. Can be null.java.lang.Exception
- if there's an error during the conversion. The caller is responsible for
reporting the error to the user through ValidationEventHandler
.public void setHandlerChainsNamespaceFilter(JaxbJavaee.HandlerChainsNamespaceFilter xmlFilter)
public void setNamespaceContext(javax.xml.namespace.NamespaceContext namespaceContext)