use of org.openforis.collect.persistence.xml.internal.unmarshal.UITabSetPR in project collect by openforis.
the class UIOptionsBinder method unmarshalTabSet.
private UITabSet unmarshalTabSet(XmlPullParser parser, UIOptions uiOptions) throws IOException, XmlPullParserException, XmlParseException {
try {
UITabSetPR tabSetPR = new UITabSetPR(this, uiOptions);
tabSetPR.parse(parser);
UITabSet tabSet = tabSetPR.getTabSet();
return tabSet;
} catch (XmlParseException e) {
if (parser != null && parser.getEventType() == XmlPullParser.END_DOCUMENT) {
return null;
} else {
throw e;
}
}
}
Aggregations