@Override public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
@SuppressWarnings("deprecation") public void setValidating(boolean b) throws JAXBException { unmarshaller.setValidating(b); }
public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
/** * @deprecated since JAXB2.0, please see {@link #getSchema()} */ @Deprecated public void setValidating(boolean validating) throws JAXBException { delegate.setValidating(validating); }
@SuppressWarnings("deprecation") public void setValidating(boolean b) throws JAXBException { unmarshaller.setValidating(b); }
@SuppressWarnings("deprecation") public void setValidating(boolean b) throws JAXBException { unmarshaller.setValidating(b); }
@SuppressWarnings("deprecation") public void setValidating(boolean b) throws JAXBException { unmarshaller.setValidating(b); }
@Override public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
@Override public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
protected void initJaxbUnmarshaller(Unmarshaller unmarshaller) throws JAXBException { unmarshaller.setValidating(validating); }
public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
public void setValidating(boolean validating) throws JAXBException { this.jaxbUnmarshaller.setValidating(validating); }
/** * {@inheritDoc} * @deprecated as deprecated in {@link javax.xml.bind.Unmarshaller#setValidating(boolean)} */ @Override @Deprecated public void setValidating( final boolean validating ) throws JAXBException { unmarshaller.setValidating( validating ); }
@SuppressWarnings("deprecation") public void setValidating(boolean validating) throws JAXBException { getUnmarshaller().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 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); }
/** * Resets the given unmarshaller property to its initial state. * This method is invoked automatically by {@link #reset(Pooled)}. * * @param key the property to reset. * @param value the saved initial value to give to the property. * @throws JAXBException if an error occurred while restoring a property. */ @Override @SuppressWarnings({"unchecked","rawtypes","deprecation"}) protected void reset(final Object key, final Object value) throws JAXBException { if (key instanceof String) { unmarshaller.setProperty((String) key, value); } else if (key == AttachmentUnmarshaller.class) { unmarshaller.setAttachmentUnmarshaller((AttachmentUnmarshaller) value); } else if (key == Schema.class) { unmarshaller.setSchema((Schema) value); } else if (key == Listener.class) { unmarshaller.setListener((Listener) value); } else if (key == ValidationEventHandler.class) { unmarshaller.setEventHandler((ValidationEventHandler) value); } else if (key == Boolean.class) { unmarshaller.setValidating((Boolean) value); } else { unmarshaller.setAdapter((Class) key, (XmlAdapter) value); } }
/** * Resets the given unmarshaller property to its initial state. * This method is invoked automatically by {@link #reset(Pooled)}. * * @param key the property to reset. * @param value the saved initial value to give to the property. * @throws JAXBException if an error occurred while restoring a property. */ @Override @SuppressWarnings({"unchecked","rawtypes","deprecation"}) protected void reset(final Object key, final Object value) throws JAXBException { if (key instanceof String) { unmarshaller.setProperty((String) key, value); } else if (key == AttachmentUnmarshaller.class) { unmarshaller.setAttachmentUnmarshaller((AttachmentUnmarshaller) value); } else if (key == Schema.class) { unmarshaller.setSchema((Schema) value); } else if (key == Listener.class) { unmarshaller.setListener((Listener) value); } else if (key == ValidationEventHandler.class) { unmarshaller.setEventHandler((ValidationEventHandler) value); } else if (key == Boolean.class) { unmarshaller.setValidating((Boolean) value); } else { unmarshaller.setAdapter((Class) key, (XmlAdapter) value); } }