@Test public void buildsMarshallerWithSchemaLocationProperty() throws Exception { JAXBContextFactory factory = new JAXBContextFactory.Builder() .withMarshallerSchemaLocation("http: .build(); Marshaller marshaller = factory.createMarshaller(Object.class); assertEquals("http: marshaller.getProperty(Marshaller.JAXB_SCHEMA_LOCATION)); }
public Marshaller createMarshaller(Class<?> clazz) throws JAXBException { Marshaller marshaller = getContext(clazz).createMarshaller(); setMarshallerProperties(marshaller); return marshaller; }
JAXBContextFactory { public Marshaller createMarshaller(Class<?> clazz) throws JAXBException { Marshaller marshaller = getContext(clazz).createMarshaller(); setMarshallerProperties(marshaller); return marshaller; } }
JAXBContextFactory { public Marshaller createMarshaller(Class<?> clazz) throws JAXBException { Marshaller marshaller = getContext(clazz).createMarshaller(); setMarshallerProperties(marshaller); return marshaller; } private  JAXBContextFactory(Map<String, Object> properties); }
JAXBContextFactory { public Marshaller createMarshaller(Class<?> clazz) throws JAXBException { Marshaller marshaller = getContext(clazz).createMarshaller(); setMarshallerProperties(marshaller); return marshaller; } private  JAXBContextFactory(Map<String, Object> properties); Unmarshaller createUnmarshaller(Class<?> clazz); Marshaller createMarshaller(Class<?> clazz); }
JAXBContextFactory { public Marshaller createMarshaller(Class<?> clazz) throws JAXBException { Marshaller marshaller = getContext(clazz).createMarshaller(); setMarshallerProperties(marshaller); return marshaller; } private  JAXBContextFactory(Map<String, Object> properties); Unmarshaller createUnmarshaller(Class<?> clazz); Marshaller createMarshaller(Class<?> clazz);  }