Examples of resolveSystem()


Examples of org.apache.xml.resolver.Catalog.resolveSystem()

    private String resolveByCatalog(String url) {
        Bus bus = (Bus)env.get(Bus.class);
        Catalog catalogResolver = OASISCatalogManager.getCatalogManager(bus).getCatalog();
        String resolvedLocation;
        try {
            resolvedLocation = catalogResolver.resolveSystem(url);
            if (resolvedLocation == null) {
                resolvedLocation = catalogResolver.resolveURI(url);
            }
        } catch (Exception e1) {
            Message msg = new Message("FAILED_RESOLVE_CATALOG", LOG, url);
View Full Code Here

Examples of org.apache.xml.resolver.Catalog.resolveSystem()

    private String resolveByCatalog(String url) {
        Bus bus = (Bus)env.get(Bus.class);
        Catalog catalogResolver = OASISCatalogManager.getCatalogManager(bus).getCatalog();
        String resolvedLocation;
        try {
            resolvedLocation = catalogResolver.resolveSystem(url);
            if (resolvedLocation == null) {
                resolvedLocation = catalogResolver.resolveURI(url);
            }
        } catch (Exception e1) {
            Message msg = new Message("FAILED_RESOLVE_CATALOG", LOG, url);
View Full Code Here

Examples of org.apache.xml.resolver.Catalog.resolveSystem()

    private Document getWSDLDoc(String wsdl) {
        LOG.log(Level.FINE, new Message("VALIDATE_WSDL", LOG, wsdl).toString());
        try {
            Catalog catalogResolver = OASISCatalogManager.getCatalogManager(this.getBus()).getCatalog();

            String nw = catalogResolver.resolveSystem(wsdl);
            if (nw == null) {
                nw = catalogResolver.resolveURI(wsdl);
            }
            if (nw == null) {
                nw = catalogResolver.resolvePublic(wsdl, null);
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

        {
        case ICatalogEntry.ENTRY_TYPE_PUBLIC:
          result = catalog.resolvePublic(publicId, systemId);
          break;
        case ICatalogEntry.ENTRY_TYPE_SYSTEM:
          result = catalog.resolveSystem(systemId);
          break;
        case ICatalogEntry.ENTRY_TYPE_URI:
          result = catalog.resolveURI(systemId);
          break;
        default:
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

            {
            case IDelegateCatalog.DELEGATE_TYPE_PUBLIC:
              result = catalog.resolvePublic(key, systemId);
              break;
            case IDelegateCatalog.DELEGATE_TYPE_SYSTEM:
              result = catalog.resolveSystem(systemId);
              break;
            case IDelegateCatalog.DELEGATE_TYPE_URI:
              result = catalog.resolveURI(systemId);
              break;
            default:
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

        ICatalog catalog = XMLCorePlugin.getDefault().getDefaultXMLCatalog();
        if (catalog != null) {
          String resolvedString = null;
          try {
            // Check as system reference first
            resolvedString = catalog.resolveSystem(reference);
            // Check as URI
            if (resolvedString == null || resolvedString.trim().length() == 0) {
              resolvedString = catalog.resolveURI(reference);
            }
            // Check as public ID
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

        {
        case ICatalogEntry.ENTRY_TYPE_PUBLIC:
          result = catalog.resolvePublic(publicId, systemId);
          break;
        case ICatalogEntry.ENTRY_TYPE_SYSTEM:
          result = catalog.resolveSystem(systemId);
          break;
        case ICatalogEntry.ENTRY_TYPE_URI:
          result = catalog.resolveURI(systemId);
          break;
        default:
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

            {
            case IDelegateCatalog.DELEGATE_TYPE_PUBLIC:
              result = catalog.resolvePublic(key, systemId);
              break;
            case IDelegateCatalog.DELEGATE_TYPE_SYSTEM:
              result = catalog.resolveSystem(systemId);
              break;
            case IDelegateCatalog.DELEGATE_TYPE_URI:
              result = catalog.resolveURI(systemId);
              break;
            default:
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

        ICatalog catalog = XMLCorePlugin.getDefault().getDefaultXMLCatalog();
        if (catalog != null) {
          String resolvedString = null;
          try {
            // Check as system reference first
            resolvedString = catalog.resolveSystem(reference);
            // Check as URI
            if (resolvedString == null || resolvedString.trim().length() == 0) {
              resolvedString = catalog.resolveURI(reference);
            }
            // Check as public ID
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog.resolveSystem()

    String resolved = null;
    if (systemId != null)
    {
      try
      {
        resolved = catalog.resolveSystem(systemId);
        if (resolved == null)
        {
          resolved = catalog.resolveURI(systemId);
        }
      }
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.