public Object read(MessagePartInfo part, XMLStreamReader input) { try { AegisType type = part.getProperty("org.apache.cxf.aegis.outerType", AegisType.class); if (type == null) { type = databinding.getType(part); return reader.read(input, type); } else { ArrayType arrayType = (ArrayType) type; return reader.readFlatArray(input, arrayType, part.getConcreteName()); } } catch (Exception e) { throw new Fault(e); } }
public Object read(XMLStreamReader input) { try { return reader.read(input, null); } catch (Exception e) { throw new Fault(e); } }
public void setSchema(Schema s) { reader.setSchema(s); }
public void setProperty(String prop, Object value) { reader.setProperty(prop, value); }
public void setAttachments(Collection<Attachment> attachments) { reader.getContext().setAttachments(attachments); }