Lines Matching defs:properties

66     public static JAXBContext createContext( Class[] classes, Map<String,Object> properties ) throws JAXBException {
67 // fool-proof check, and copy the map to make it easier to find unrecognized properties.
68 if(properties==null)
69 properties = Collections.emptyMap();
71 properties = new HashMap<String,Object>(properties);
73 String defaultNsUri = getPropertyValue(properties,JAXBRIContext.DEFAULT_NAMESPACE_REMAP,String.class);
75 Boolean c14nSupport = getPropertyValue(properties,JAXBRIContext.CANONICALIZATION_SUPPORT,Boolean.class);
79 Boolean allNillable = getPropertyValue(properties,JAXBRIContext.TREAT_EVERYTHING_NILLABLE,Boolean.class);
83 Boolean retainPropertyInfo = getPropertyValue(properties, JAXBRIContext.RETAIN_REFERENCE_TO_INFO, Boolean.class);
87 Boolean supressAccessorWarnings = getPropertyValue(properties, JAXBRIContext.SUPRESS_ACCESSOR_WARNINGS, Boolean.class);
91 Boolean improvedXsiTypeHandling = getPropertyValue(properties, JAXBRIContext.IMPROVED_XSI_TYPE_HANDLING, Boolean.class);
95 Boolean xmlAccessorFactorySupport = getPropertyValue(properties,
104 RuntimeAnnotationReader ar = getPropertyValue(properties,JAXBRIContext.ANNOTATION_READER,RuntimeAnnotationReader.class);
109 getPropertyValue(properties, JAXBRIContext.SUBCLASS_REPLACEMENTS, Map.class), Class.class, Class.class);
114 if(!properties.isEmpty()) {
115 throw new JAXBException(Messages.UNSUPPORTED_PROPERTY.format(properties.keySet().iterator().next()));
136 private static <T> T getPropertyValue(Map<String, Object> properties, String keyName, Class<T> type ) throws JAXBException {
137 Object o = properties.get(keyName);
140 properties.remove(keyName);
180 ClassLoader classLoader, Map<String,Object> properties ) throws JAXBException {
221 return createContext(classes.toArray(new Class[classes.size()]),properties);