예제 #1
0
  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);
    }
  }
예제 #2
0
 public Object read(XMLStreamReader input) {
   try {
     return reader.read(input, null);
   } catch (Exception e) {
     throw new Fault(e);
   }
 }
예제 #3
0
 public void setSchema(Schema s) {
   reader.setSchema(s);
 }
예제 #4
0
 public void setProperty(String prop, Object value) {
   reader.setProperty(prop, value);
 }
예제 #5
0
 public void setAttachments(Collection<Attachment> attachments) {
   reader.getContext().setAttachments(attachments);
 }