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