setMarshallerProp(ms, value, XML_PI_PROPERTY, XML_PI_PROPERTY_INT);
}
}
private void addSchemaLocation(Marshaller ms, Annotation[] anns) throws Exception {
XSISchemaLocation sl = AnnotationUtils.getAnnotation(anns, XSISchemaLocation.class);
if (sl != null) {
String value = buildAbsoluteXMLResourceURI(sl.value());
String propName = !sl.noNamespace()
? Marshaller.JAXB_SCHEMA_LOCATION : Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION;
ms.setProperty(propName, value);
}
}