/** * Delegates to the wrapped unmarshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. * * @deprecated Replaced by {@link #setSchema(javax.xml.validation.Schema)} in JAXB 2.0. */ @Override @Deprecated public void setValidating(final boolean validating) throws JAXBException { if (!isPropertySaved(Boolean.class)) { saveProperty(Boolean.class, unmarshaller.isValidating()); } unmarshaller.setValidating(validating); }
/** * Delegates to the wrapped unmarshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. * * @deprecated Replaced by {@link #setSchema(javax.xml.validation.Schema)} in JAXB 2.0. */ @Override @Deprecated public void setValidating(final boolean validating) throws JAXBException { if (!isPropertySaved(Boolean.class)) { saveProperty(Boolean.class, unmarshaller.isValidating()); } unmarshaller.setValidating(validating); }
/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setListener(final Listener listener) { if (!isPropertySaved(Listener.class)) { saveProperty(Listener.class, unmarshaller.getListener()); } unmarshaller.setListener(listener); }
/** * Delegates to the wrapped unmarshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setAttachmentUnmarshaller(final AttachmentUnmarshaller au) { if (!isPropertySaved(AttachmentUnmarshaller.class)) { saveProperty(AttachmentUnmarshaller.class, unmarshaller.getAttachmentUnmarshaller()); } unmarshaller.setAttachmentUnmarshaller(au); }
/** * Delegates to the wrapped unmarshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setAttachmentUnmarshaller(final AttachmentUnmarshaller au) { if (!isPropertySaved(AttachmentUnmarshaller.class)) { saveProperty(AttachmentUnmarshaller.class, unmarshaller.getAttachmentUnmarshaller()); } unmarshaller.setAttachmentUnmarshaller(au); }
/** * Delegates to the wrapped marshaller. The initial state will be saved * if it was not already done, for future restoration by {@link #reset(Pooled)}. */ @Override public void setListener(final Listener listener) { if (!isPropertySaved(Listener.class)) { saveProperty(Listener.class, unmarshaller.getListener()); } unmarshaller.setListener(listener); }