Top Deprecated
Java Architecture for XML Binding 2.3.1

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

a Validator object
javax.xml.bind.JAXBContext.createValidator
()

since JAXB2.0

Returns:

true if the Unmarshaller is configured to validate during unmarshal operations, false otherwise
javax.xml.bind.Unmarshaller.isValidating
()

since JAXB2.0, please see getSchema()

javax.xml.bind.Unmarshaller.setValidating(boolean
true if the Unmarshaller should validate during unmarshal, false otherwise
validating
)

since JAXB2.0, please see setSchema(javax.xml.validation.Schema)

Returns:

the current ValidationEventHandler or the default event handler if it hasn't been set
javax.xml.bind.Validator.getEventHandler
()

since JAXB2.0

Returns:

the value of the requested property
javax.xml.bind.Validator.getProperty
(String
the name of the property to retrieve
name
)

since JAXB2.0

javax.xml.bind.Validator.setEventHandler(ValidationEventHandler
the validation event handler
handler
)

since JAXB2.0

javax.xml.bind.Validator.setProperty(String
the name of the property to be set. This value can either be specified using one of the constant fields or a user supplied string.
name
,
Object
the value of the property to be set
value
)

since JAXB2.0

Returns:

true if the subtree rooted at subrootObj is valid, false otherwise
javax.xml.bind.Validator.validate
(Object
the obj to begin validation at
subrootObj
)

since JAXB2.0

Returns:

true if the tree rooted at rootObj is valid, false otherwise
javax.xml.bind.Validator.validateRoot
(Object
the root obj to begin validation at
rootObj
)

since JAXB2.0