1 17 package org.apache.ws.jaxme.xs.jaxb.impl; 18 19 import org.apache.ws.jaxme.xs.XSObjectFactory; 20 import org.apache.ws.jaxme.xs.XSParser; 21 import org.apache.ws.jaxme.xs.jaxb.JAXBXsObjectFactory; 22 import org.apache.ws.jaxme.xs.parser.XSContext; 23 24 25 29 public class JAXBParser extends XSParser { 30 public static final XSObjectFactory JAXB_OBJECT_FACTORY = new JAXBObjectFactoryImpl(); 31 public static final JAXBXsObjectFactory JAXB_XS_OBJECT_FACTORY = new JAXBXsObjectFactoryImpl(); 32 33 35 public static final String JAXB_SCHEMA_URI = "http://java.sun.com/xml/ns/jaxb"; 36 37 39 public static final String XJC_SCHEMA_URI = "http://java.sun.com/xml/ns/jaxb/xjc"; 40 41 public JAXBParser() { 42 XSContext data = getContext(); 43 data.setXsObjectFactory(JAXB_XS_OBJECT_FACTORY); 44 data.setXSObjectFactory(JAXB_OBJECT_FACTORY); 45 } 46 } 47 | Popular Tags |