@Override public String getNamespaceURI() { if (!firstNs) { firstNs = true; return ""; } return super.getNamespaceURI(); }
@Override public String getNamespaceURI() { if (!firstNs) { firstNs = true; return ""; } return super.getNamespaceURI(); }
public String getNamespaceForPrefix(String prefix) { return root.getNamespaceURI(prefix); } }
public String getNamespaceURI(int index) { String ns = super.getNamespaceURI(index); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else if (ns.equals(reader.getNamespaceURI())) { return getNamespaceURI(); } else { return ns; } }
public String getNamespaceURI(String prefix) { String ns = super.getNamespaceURI(prefix); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } return ns != null ? ns : namespaceContext.getNamespaceURI(prefix); }
public String getNamespaceURI(int index) { String ns = super.getNamespaceURI(index); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else if (ns.equals(reader.getNamespaceURI())) { return getNamespaceURI(); } else { return ns; } }
public String getNamespaceURI() { if (currentEvent != null) { return currentEvent.getName().getNamespaceURI(); } else { return super.getNamespaceURI(); } }
public String getNamespaceURI(String prefix) { String ns = super.getNamespaceURI(prefix); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else { return ns != null ? ns : namespaceContext.getNamespaceURI(prefix); } }
public String getNamespaceURI(String prefix) { String ns = super.getNamespaceURI(prefix); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else { return ns != null ? ns : namespaceContext.getNamespaceURI(prefix); } }
public String getNamespaceURI(int index) { String ns = super.getNamespaceURI(index); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else if (ns.equals(reader.getNamespaceURI())) { return getNamespaceURI(); } else { return ns; } }
public String getNamespaceURI() { if (currentEvent != null) { return currentEvent.getName().getNamespaceURI(); } else { return super.getNamespaceURI(); } }
public String getNamespaceURI() { if (currentEvent != null) { return currentEvent.getName().getNamespaceURI(); } return super.getNamespaceURI(); }
public String getNamespaceURI(int index) { String ns = super.getNamespaceURI(index); String actualNs = nsMap.get(ns); if (actualNs != null) { return actualNs; } else if (ns.equals(reader.getNamespaceURI())) { return getNamespaceURI(); } else { return ns; } }
public String getNamespaceURI(String arg0) { String uri = super.getNamespaceURI(arg0); if (uri == null) { uri = getNamespaceContext().getNamespaceURI(arg0); } return uri; }
public String getNamespaceURI(String arg0) { String uri = super.getNamespaceURI(arg0); if (uri == null) { uri = getNamespaceContext().getNamespaceURI(arg0); } return uri; }
private QName readCurrentElement() { if (currentEvent != null) { return currentEvent.getName(); } String ns = super.getNamespaceURI(); String name = super.getLocalName(); String prefix = super.getPrefix(); return new QName(ns, name, prefix == null ? "" : prefix); }
public String getNamespaceURI(int arg0) { if (getDepth() == 0 && isStartElement()) { int i = super.getNamespaceCount(); if (arg0 >= i) { arg0 -= i; return namespaces[arg0].getValue(); } } return super.getNamespaceURI(arg0); }
private QName readCurrentElement() { if (currentEvent != null) { return currentEvent.getName(); } String ns = super.getNamespaceURI(); String name = super.getLocalName(); String prefix = super.getPrefix(); return new QName(ns, name, prefix == null ? "" : prefix); }
/** * @param root */ public ElementReader(DepthXMLStreamReader root) { this.root = root; this.localName = root.getLocalName(); this.name = root.getName(); this.namespace = root.getNamespaceURI(); extractXsiType(); depth = root.getDepth(); }
/** * @param root */ public ElementReader(DepthXMLStreamReader root) { this.root = root; this.localName = root.getLocalName(); this.name = root.getName(); this.namespace = root.getNamespaceURI(); extractXsiType(); depth = root.getDepth(); }