示例#1
0
 /**
  * @deprecated Use {@link SOSSensorStore#SOSSensorStore(OperationResult)} with {@link
  *     SOSSensorStore#unmarshalFeatures(OperationResult)}
  */
 public OXFFeatureCollection unmarshalFeatures(OperationResult operationResult)
     throws OXFException {
   try {
     this.xmlObject = XMLBeansParser.parse(operationResult.getIncomingResultAsStream());
     this.version = getVersion(operationResult);
   } catch (XMLHandlingException e) {
     throw new OXFException("Could not parse OperationResult", e);
   }
   return unmarshalFeatures();
 }
 /**
  * @deprecated use instead {@link #SOSObservationStore(OperationResult)} and {@link
  *     #unmarshalFeatures()}
  */
 @Deprecated
 protected OXFFeatureCollection unmarshalFeatures100(OperationResult operationResult)
     throws OXFException {
   try {
     this.xmlObject = XMLBeansParser.parse(operationResult.getIncomingResultAsStream());
     return unmarshalFeatures(operationResult);
   } catch (XMLHandlingException e) {
     throw new OXFException("Could not parse OperationResult.", e);
   }
 }