XSDImport imprt = (XSDImport) content; if (!added.contains(imprt.getNamespace())) { imports.add(imprt); added.add(imprt.getNamespace()); LOGGER.info( "Schema import wasn't resolved: " + imprt.getNamespace() + " declared location: " + imprt.getSchemaLocation());
XSDImport imprt = (XSDImport) im.next(); if (config.getNamespaceURI().equals(imprt.getNamespace())) { found = true;
public String getText() { XSDSchemaDirective directive = (XSDSchemaDirective) target; String result = ""; String location = directive.getSchemaLocation(); if (location == null || location.equals("") ) { result = "(" + Messages._UI_LABEL_NO_LOCATION_SPECIFIED + ")"; } else { result = location; } // only show the namespace when the directiave is an import // (otherwise the namespace is obviously the same as the containing schema's) if (directive instanceof XSDImport) { XSDImport importObj = (XSDImport) directive; String namespace = importObj.getNamespace(); if (namespace != null) { result += " {" + namespace + "}"; } } return result; }
XSDImport imprt = (XSDImport) content; if (!added.contains(imprt.getNamespace())) { imports.add(imprt); added.add(imprt.getNamespace());
XSDImport imprt = (XSDImport) content; if (!added.contains(imprt.getNamespace())) { imports.add(imprt); added.add(imprt.getNamespace());
XSDImport imprt = (XSDImport) content; if (!added.contains(imprt.getNamespace())) { imports.add(imprt); added.add(imprt.getNamespace()); LOGGER.info("Schema import wasn't resolved: " + imprt.getNamespace() + " declared location: " + imprt.getSchemaLocation()); }else{
final XSDResourceImpl rsrc = new XSDResourceImpl(URI.createFileURI(xsdFileWithPath)); rsrc.load(new HashMap()); final XSDSchema schema = rsrc.getSchema(); for (Object content : schema.getContents()) { if (content instanceof XSDImport) { XSDImport xsdImport = (XSDImport) content; xsdImport.resolveTypeDefinition(xsdImport.getNamespace(), ""); } }
public void updateMapAfterDelete(XSDImport deletedNode) { String ns = deletedNode.getNamespace(); if (ns != null) { String prefix = getPrefix(ns, false); if (prefix != null) { prefix = prefix.trim(); } String xmlnsAttr = (prefix == "") ? "xmlns" : "xmlns:" + prefix; if (prefix == "") { prefix = null; } if (xsdSchema != null) { Map map = xsdSchema.getQNamePrefixToNamespaceMap(); map.remove(prefix); Element schemaElement = xsdSchema.getElement(); schemaElement.removeAttribute(xmlnsAttr); } } }
String importNamespace = xsdImport.getNamespace(); if (namespace == null ? importNamespace == null || "".equals(importNamespace): namespace.equals(importNamespace))
String importNamespace = theImport.getNamespace(); if (WSDLConstants.isMatchingNamespace(namespace, importNamespace))
String importNamespace = xsdImport.getNamespace(); if (namespace == null ? importNamespace == null || "".equals(importNamespace): namespace.equals(importNamespace))
if (namespace == null ? xsdImport.getNamespace() == null : namespace.equals(xsdImport.getNamespace()))
xsdImport.resolveTypeDefinition(xsdImport.getNamespace(), "");
if (namespace == null ? xsdImport.getNamespace() == null : namespace.equals(xsdImport.getNamespace()))
xsdImport.resolveTypeDefinition(xsdImport.getNamespace(), "");
XSDImport imprt = (XSDImport) im.next(); if (config.getNamespaceURI().equals(imprt.getNamespace())) { found = true;
if (gmlNamespace.equals(imprt.getNamespace())) { i.remove();
XSDImport imprt = (XSDImport) im.next(); if (config.getNamespaceURI().equals(imprt.getNamespace())) { found = true;
for ( Iterator im = imports.iterator(); im.hasNext(); ) { XSDImport imprt = (XSDImport) im.next(); if ( config.getNamespaceURI().equals( imprt.getNamespace() ) ) { found = true; break O;