Class UnmarshallerProperties

java.lang.Object
org.eclipse.persistence.jaxb.UnmarshallerProperties

public class UnmarshallerProperties extends Object
These are properties that may be set on an instance of Unmarshaller. Below is an example of using the property mechanism to enable MOXy's JSON binding for an instance of Unmarshaller.
 Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
 unmarshaller.setProperty(UnmarshallerProperties.MEDIA_TYPE, "application/json");