# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Methods

Deprecated Interfaces
javax.xml.bind.Validator: since JAXB 2.0

Deprecated Methods
javax.xml.bind.JAXBContext.createValidator(): since JAXB2.0
javax.xml.bind.Validator.getEventHandler(): since JAXB2.0
javax.xml.bind.Validator.getProperty(String): since JAXB2.0
javax.xml.bind.Unmarshaller.isValidating(): since JAXB2.0, please see `Unmarshaller.getSchema()`
javax.xml.bind.Validator.setEventHandler(ValidationEventHandler): since JAXB2.0
javax.xml.bind.Validator.setProperty(String, Object): since JAXB2.0
javax.xml.bind.Unmarshaller.setValidating(boolean): since JAXB2.0, please see `Unmarshaller.setSchema(javax.xml.validation.Schema)`
javax.xml.bind.Validator.validate(Object): since JAXB2.0
javax.xml.bind.Validator.validateRoot(Object): since JAXB2.0

Copyright © 2004-2017 Oracle