Examples of SchemaResolver

  • org.huihoo.willow.util.SchemaResolver
    @author reicTo change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
  • org.jamesii.core.plugins.SchemaResolver
    Resolves an unique schema location to a local path. @author Mathias Roehl

  • Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.eclipse.persistence.sdo.helper.SchemaResolver

         * @return the defined Types.
         * @throws IllegalArgumentException if the Types could not be defined.
         */
        public synchronized List define(String xsd) {
            StringReader reader = new StringReader(xsd);
            SchemaResolver schemaResolver = new DefaultSchemaResolver();
            return define(reader, schemaResolver);
        }
    View Full Code Here

    Examples of org.geotools.xml.resolver.SchemaResolver

        private static NamespaceSupport gml32NS;

        @BeforeClass
        public static void oneTimeSetUp() throws IOException {
            SchemaResolver resolver = new SchemaResolver();
            String schemalocation = SchemaResolver
                    .resolveClasspathLocation("http://schemas.geosciml.org/borehole/3.2/borehole.xsd");
            EmfAppSchemaReader schemaParser = EmfAppSchemaReader.newInstance();
            schemaParser.setResolver(resolver);
            schemaIndex = schemaParser.parse(BOREHOLE_NS, schemalocation);
    View Full Code Here

    Examples of org.geotools.xml.resolver.SchemaResolver

        public void testCatalogSchemaResolution() throws Exception {
            URL catalogLocation = getClass().getResource(schemaBase + "mappedPolygons.oasis.xml");
            String namespace = "http://www.cgi-iugs.org/xml/GeoSciML/2";
            String schemaLocation = "http://schemas.opengis.net/GeoSciML/geosciml.xsd";
            Configuration config = new AppSchemaConfiguration(namespace, schemaLocation,
                    new SchemaResolver(SchemaCatalog.build(catalogLocation)));
            String resolvedSchemaLocation = config.getXSD().getSchemaLocation();
            assertTrue(resolvedSchemaLocation.startsWith("file:/"));
            assertTrue(resolvedSchemaLocation.endsWith(schemaBase
                    + "commonSchemas_new/GeoSciML/geosciml.xsd"));
        }
    View Full Code Here

    Examples of org.geotools.xml.resolver.SchemaResolver

         */
        @Test
        public void findGml31Configuration() {
            AppSchemaConfiguration configuration = new AppSchemaConfiguration(
                    "urn:cgi:xmlns:CGI:GeoSciML:2.0",
                    "http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd", new SchemaResolver());
            Configuration gmlConfiguration = EmfAppSchemaReader.findGmlConfiguration(configuration);
            Assert.assertNotNull(gmlConfiguration);
            Assert.assertEquals(new GMLConfiguration(), gmlConfiguration);
        }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.