public boolean hasDefaultNamespace() { if (!hasDefaultNamespace.isPresent()) { hasDefaultNamespace = Optional.of( !new InscopeNamespaceResolver(getParent()).getURIForPrefix("", true).isEmpty()); } return hasDefaultNamespace.get(); }
all = true; } else if ("#default".equals(pfx)) { found = (inscopeNS.getURIForPrefix("", true) != null); if (found) { excludeURIs.add(inscopeNS.getURIForPrefix("", true)); found = (inscopeNS.getURIForPrefix(pfx, false) != null); if (found) { excludeURIs.add(inscopeNS.getURIForPrefix(pfx, false)); String pfx = (String)pfxiter.next(); boolean def = ("".equals(pfx)); excludeURIs.add(inscopeNS.getURIForPrefix(pfx,def));
all = true; } else if ("#default".equals(pfx)) { found = (inscopeNS.getURIForPrefix("", true) != null); if (found) { excludeURIs.add(inscopeNS.getURIForPrefix("", true)); found = (inscopeNS.getURIForPrefix(pfx, false) != null); if (found) { excludeURIs.add(inscopeNS.getURIForPrefix(pfx, false)); String pfx = (String)pfxiter.next(); boolean def = ("".equals(pfx)); excludeURIs.add(inscopeNS.getURIForPrefix(pfx,def));
while (prefixes.hasNext()) { String nspfx = (String)prefixes.next(); String nsuri = inscopeNS.getURIForPrefix(nspfx, true); nsbindings.put(nspfx,nsuri);
while (prefixes.hasNext()) { String nspfx = (String)prefixes.next(); String nsuri = inscopeNS.getURIForPrefix(nspfx, true); nsbindings.put(nspfx,nsuri);
while (pfxiter.hasNext()) { String nspfx = (String)pfxiter.next(); String nsuri = inscopeNS.getURIForPrefix(nspfx, "".equals(nspfx)); lclnsBindings.put(nspfx, nsuri);
while (pfxiter.hasNext()) { String nspfx = (String)pfxiter.next(); String nsuri = inscopeNS.getURIForPrefix(nspfx, "".equals(nspfx)); lclnsBindings.put(nspfx, nsuri);