public UnmappedContentHandlerWrapper( UnmappedContentHandler unmappedContentHandler, SAXUnmarshallerHandler saxUnmarshallerHandler) { super(null); this.depth = 0; this.unmappedContentHandler = unmappedContentHandler; setUnmarshaller(saxUnmarshallerHandler.getUnmarshaller()); setXMLReader(saxUnmarshallerHandler.getXMLReader()); setUnmarshalNamespaceResolver(saxUnmarshallerHandler.getUnmarshalNamespaceResolver()); unmappedContentHandler.setUnmarshalRecord(this); }
public UnmappedContentHandlerWrapper( UnmarshalRecord parentRecord, UnmappedContentHandler unmappedContentHandler) { super(null); this.depth = 0; this.unmappedContentHandler = unmappedContentHandler; setParentRecord(parentRecord); setUnmarshaller(parentRecord.getUnmarshaller()); setXMLReader(parentRecord.getXMLReader()); setUnmarshalNamespaceResolver(parentRecord.getUnmarshalNamespaceResolver()); unmappedContentHandler.setUnmarshalRecord(this); }