1 25 26 package org.objectweb.easybeans.deployment.xml.parsing; 27 28 import org.objectweb.easybeans.util.xml.SchemaEntityResolver; 29 30 34 public class EJB3EntityResolver extends SchemaEntityResolver { 35 36 39 public static final String PREFIX = "org/objectweb/easybeans/deployment/xml/schemas/"; 40 41 44 public static final String CLIENT_SCHEMA = "application-client_5.xsd"; 45 46 49 public static final String EJB3_SCHEMA = "ejb-jar_3_0.xsd"; 50 51 54 public static final String JAVAEE5_SCHEMA = "javaee_5.xsd"; 55 56 59 public static final String JAVAEE_WEBSERVICES_CLIENT_SCHEMA = "javaee_web_services_client_1_2.xsd"; 60 61 64 public static final String XML_SCHEMA = "xml.xsd"; 65 66 69 public static final String [] ALL_SCHEMAS = new String [] {PREFIX + EJB3_SCHEMA, PREFIX + CLIENT_SCHEMA, 70 PREFIX + JAVAEE5_SCHEMA, PREFIX + JAVAEE_WEBSERVICES_CLIENT_SCHEMA, PREFIX + XML_SCHEMA}; 71 72 75 public EJB3EntityResolver() { 76 super(ALL_SCHEMAS); 77 } 78 79 } 80 | Popular Tags |