Examples of ExtendedURIResolver


Examples of org.apache.cxf.resource.ExtendedURIResolver

    private String baseUri;
   
    public CatalogWSDLLocator(String wsdlUrl, OASISCatalogManager catalogManager) {
        this.baseUri = wsdlUrl;
        this.catalogResolver = catalogManager.getCatalog();
        this.resolver = new ExtendedURIResolver();
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    private Catalog catalogResolver;

    public WSDLLocatorImpl(String wsdlUrl) {
        this.wsdlUrl = wsdlUrl;
        this.baseUri = this.wsdlUrl;
        resolver = new ExtendedURIResolver();
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

            return loadLocalPolicy(uri);
        }
    }
       
    private Element loadRemotePolicy(String uri, String defName) {
        ExtendedURIResolver resolver = new ExtendedURIResolver();
        InputSource src = resolver.resolve(uri, "classpath:");
       
        if (null == src) {
            return null;
        }
       
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    public Policy resolveReference(String uri) {
        int pos = uri.indexOf('#');
        String documentURI = uri.substring(0, pos);
       
        InputSource is = new ExtendedURIResolver().resolve(documentURI, baseURI);
        if (null == is) {
            return null;
        }
        Document doc = null;
        try {
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    private String importedUri;
   
    public WSDLLocatorImpl(String wsdlUrl) {
        this.wsdlUrl = wsdlUrl;
        this.baseUri = this.wsdlUrl;
        resolver = new ExtendedURIResolver();
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    private ExtendedURIResolver resolver;
    private Catalog catalogResolver;

    public CatalogXmlSchemaURIResolver(OASISCatalogManager catalogManager) {
        this.resolver = new ExtendedURIResolver();
        this.catalogResolver = catalogManager.getCatalog();
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    }

    public Policy resolveReference(String uri) {
        int pos = uri.indexOf('#');
        String documentURI = uri.substring(0, pos);
        ExtendedURIResolver resolver = new ExtendedURIResolver();
        InputSource is = resolver.resolve(documentURI, baseURI);
        if (null == is) {
            return null;
        }
        Document doc = null;
        try {
            doc = DOMUtils.readXml(is.getByteStream());
        } catch (Exception ex) {
            throw new PolicyException(ex);
        } finally {
            resolver.close();
        }
        String id = uri.substring(pos + 1);
        for (Element elem : PolicyConstants
                .findAllPolicyElementsOfLocalName(doc,
                                                  PolicyConstants.POLICY_ELEM_NAME)) {
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    public CatalogXmlSchemaURIResolver(Bus bus) {
        this(OASISCatalogManager.getCatalogManager(bus));
    }
    public CatalogXmlSchemaURIResolver(OASISCatalogManager catalogManager) {
        this.resolver = new ExtendedURIResolver();
        this.catalogResolver = catalogManager.getCatalog();
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

    private OASISCatalogManager manager;
    private String baseUri;
   
    public CatalogWSDLLocator(String wsdlUrl) {
        this.baseUri = wsdlUrl;
        this.resolver = new ExtendedURIResolver();       
    }
View Full Code Here

Examples of org.apache.cxf.resource.ExtendedURIResolver

        this.resolver = new ExtendedURIResolver();       
    }
    public CatalogWSDLLocator(String wsdlUrl, OASISCatalogManager catalogManager) {
        this.baseUri = wsdlUrl;
        this.manager = catalogManager;
        this.resolver = new ExtendedURIResolver();
    }
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.