protected XMLUnmarshaller(CONTEXT xmlContext, Map<String, Boolean> parserFeatures) { super(xmlContext); stringBuffer = new StrBuffer(); initialize(parserFeatures); setErrorHandler(DEFAULT_ERROR_HANDLER); }
protected XMLUnmarshaller(CONTEXT xmlContext, Map<String, Boolean> parserFeatures) { super(xmlContext); stringBuffer = new StrBuffer(); initialize(parserFeatures); setErrorHandler(DEFAULT_ERROR_HANDLER); }
protected XMLUnmarshaller(XMLUnmarshaller xmlUnmarshaller) { super(xmlUnmarshaller); stringBuffer = new StrBuffer(); initialize(null); setAttachmentUnmarshaller(xmlUnmarshaller.getAttachmentUnmarshaller()); setEntityResolver(xmlUnmarshaller.getEntityResolver()); setErrorHandler(xmlUnmarshaller.getErrorHandler()); for(Entry entry : xmlUnmarshaller.getProperties().entrySet()) { getProperties().put(entry.getKey(), entry.getValue()); } setResultAlwaysXMLRoot(xmlUnmarshaller.platformUnmarshaller.isResultAlwaysXMLRoot()); try { Schema schema = xmlUnmarshaller.getSchema(); if(null != schema) { setSchema(schema); } } catch(UnsupportedOperationException e) {} setUnmappedContentHandlerClass(xmlUnmarshaller.unmappedContentHandlerClass); }
protected XMLUnmarshaller(XMLUnmarshaller xmlUnmarshaller) { super(xmlUnmarshaller); stringBuffer = new StrBuffer(); initialize(null); setAttachmentUnmarshaller(xmlUnmarshaller.getAttachmentUnmarshaller()); setEntityResolver(xmlUnmarshaller.getEntityResolver()); setErrorHandler(xmlUnmarshaller.getErrorHandler()); for(Entry entry : xmlUnmarshaller.getProperties().entrySet()) { getProperties().put(entry.getKey(), entry.getValue()); } setResultAlwaysXMLRoot(xmlUnmarshaller.platformUnmarshaller.isResultAlwaysXMLRoot()); try { Schema schema = xmlUnmarshaller.getSchema(); if(null != schema) { setSchema(schema); } } catch(UnsupportedOperationException e) {} setUnmappedContentHandlerClass(xmlUnmarshaller.unmappedContentHandlerClass); }