@Test public void testValidation() throws FileNotFoundException, JAXBException, IOException, SAXException { XmlTramoSeatsRequest request = new XmlTramoSeatsRequest(); request.defaultSpecification = "RSAfull"; request.series = new XmlTs(); XmlTsData.MARSHALLER.marshal(Data.X, request.series); request.getOutputFilter().add("arima.*"); request.getOutputFilter().add("likelihood.*"); request.getOutputFilter().add("residuals.*"); request.getOutputFilter().add("*_f"); JAXBContext jaxb = JAXBContext.newInstance(request.getClass()); JAXBSource source = new JAXBSource(jaxb, request); Validator validator = Schemas.TramoSeats.newValidator(); validator.validate(source); }
public List<String> getOutputFilter() { if (outputFilter == null) { outputFilter = new ArrayList<>(); } return this.outputFilter; }
XmlTramoSeatsRequest extends XmlTramoSeatsAtomicRequest { public List<String> getOutputFilter() { if (outputFilter == null) { outputFilter = new ArrayList<>(); } return this.outputFilter; } }
XmlTramoSeatsRequest extends XmlTramoSeatsAtomicRequest { public List<String> getOutputFilter() { if (outputFilter == null) { outputFilter = new ArrayList<>(); } return this.outputFilter; }  }
XmlTramoSeatsRequest extends XmlTramoSeatsAtomicRequest { public List<String> getOutputFilter() { if (outputFilter == null) { outputFilter = new ArrayList<>(); } return this.outputFilter; }  XmlProcessingContext getContext(); void setContext(XmlProcessingContext value); List<String> getOutputFilter(); boolean getFlat(); void setFlat(Boolean flat); }
XmlTramoSeatsRequest extends XmlTramoSeatsAtomicRequest { public List<String> getOutputFilter() { if (outputFilter == null) { outputFilter = new ArrayList<>(); } return this.outputFilter; }  XmlProcessingContext getContext(); void setContext(XmlProcessingContext value); List<String> getOutputFilter(); boolean getFlat(); void setFlat(Boolean flat);  }