|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.oxm.jibx.JibxUtils
public abstract class JibxUtils
Generic utility methods for working with JiBX. Mainly for internal use within the framework.
Constructor Summary | |
---|---|
JibxUtils()
|
Method Summary | |
---|---|
static XmlMappingException |
convertJibxException(org.jibx.runtime.JiBXException ex,
boolean marshalling)
Converts the given JiBXException to an appropriate exception from the
org.springframework.oxm hierarchy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JibxUtils()
Method Detail |
---|
public static XmlMappingException convertJibxException(org.jibx.runtime.JiBXException ex, boolean marshalling)
JiBXException
to an appropriate exception from the
org.springframework.oxm
hierarchy.
A boolean flag is used to indicate whether this exception occurs during marshalling or unmarshalling, since JiBX
itself does not make this distinction in its exception hierarchy.
ex
- JiBXException
that occuredmarshalling
- indicates whether the exception occurs during marshalling (true
), or
unmarshalling (false
)
XmlMappingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |