Package wt.ixb.impl.jaxb
Class JAXBConverter
java.lang.Object
wt.ixb.impl.jaxb.JAXBConverter
This class contents several static methods that can be used in jaxb objects export/import. Includes: convert soft
attributes to/from proper jaxb objects get naming map (namespace and prefix) get root tag name get attribute which
type is ID get attribute which type is IDREF get referenced tag from DOM node check if the object need to be
marshalled firstly
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetIDTagName(String format, String elementName) get tag name which type is ID for the given format
Supported API: truestatic StringgetRefTagName(String format, String elementName) get tag name which type is IDREF for the given format
Supported API: truestatic booleanneedMarshallFirst(String format, Object o) check if the jaxb object should be marshalled firstly.
-
Method Details
-
getIDTagName
get tag name which type is ID for the given format
Supported API: true- Parameters:
format-- Returns:
- name
- Throws:
WTException
-
getRefTagName
get tag name which type is IDREF for the given format
Supported API: true- Parameters:
format-- Returns:
- name
- Throws:
WTException
-
needMarshallFirst
check if the jaxb object should be marshalled firstly.
Supported API: true- Parameters:
format-o- the jaxb object- Returns:
- boolean
- Throws:
WTException
-