Ignore:
Timestamp:
03/12/14 15:56:47 (10 years ago)
Author:
olhsha
Message:

debugging and testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/JaxbMarshallerFactory.java

    r4603 r4671  
    3232    private JAXBContext context;
    3333    private Marshaller marshaller;
    34     // overwritten by the context.xml's
     34    // overwritten by the web.xml's
     35    // why??
    3536    private String schemaLocation = "http://www.dasish.eu/ns/addit file:/Users/olhsha/repositories/DASISH/t5.6/schema/trunk/annotator-schema/src/main/target/DASISH-schema.xsd";
    3637   
     
    4849   
    4950    public Marshaller createMarshaller(Class<?> type) throws JAXBException{
    50         context = JAXBContext.newInstance(type);
     51        context = JAXBContext.newInstance(type); 
    5152        marshaller = context.createMarshaller();       
    5253        marshaller.setProperty(Marshaller.JAXB_SCHEMA_LOCATION, schemaLocation);
Note: See TracChangeset for help on using the changeset viewer.