public static boolean matchesTagNS(Element e, String tag, String nsURI) { try { return e.getLocalName().equals(tag) && e.getNamespaceURI().equals(nsURI); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } }
public static boolean matchesTagNS(Element e, String tag, String nsURI) { try { return e.getLocalName().equals(tag) && e.getNamespaceURI().equals(nsURI); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } }
public static boolean matchesTagNS(Element e, String tag, String nsURI) { try { return e.getLocalName().equals(tag) && e.getNamespaceURI().equals(nsURI); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } }
public static boolean matchesTagNS(Element e, String tag, String nsURI) { try { return e.getLocalName().equals(tag) && e.getNamespaceURI().equals(nsURI); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } }
public static boolean matchesTagNS( Element e, javax.xml.namespace.QName name) { try { return e.getLocalName().equals(name.getLocalPart()) && e.getNamespaceURI().equals(name.getNamespaceURI()); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } } }
public static boolean matchesTagNS( Element e, javax.xml.namespace.QName name) { try { return e.getLocalName().equals(name.getLocalPart()) && e.getNamespaceURI().equals(name.getNamespaceURI()); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } } }
public static boolean matchesTagNS( Element e, javax.xml.namespace.QName name) { try { return e.getLocalName().equals(name.getLocalPart()) && e.getNamespaceURI().equals(name.getNamespaceURI()); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } } }
public static boolean matchesTagNS( Element e, javax.xml.namespace.QName name) { try { return e.getLocalName().equals(name.getLocalPart()) && e.getNamespaceURI().equals(name.getNamespaceURI()); } catch (NullPointerException npe) { // localname not null since parsing would fail before here throw new WSDLParseException( "null.namespace.found", e.getLocalName()); } } }