/** * Make sure everything looks kosher with the element name. */ private void validateCandidateElement(Element e) throws WSDDException { QName name = getElementName(); if ((null == e) || (null == e.getNamespaceURI()) || (null == e.getLocalName()) ||!e.getNamespaceURI().equals(name.getNamespaceURI()) ||!e.getLocalName().equals(name.getLocalPart())) { throw new WSDDException(Messages.getMessage("invalidWSDD00", e.getLocalName(), name.getLocalPart())); } }
/** * Make sure everything looks kosher with the element name. */ private void validateCandidateElement(Element e) throws WSDDException { QName name = getElementName(); if ((null == e) || (null == e.getNamespaceURI()) || (null == e.getLocalName()) ||!e.getNamespaceURI().equals(name.getNamespaceURI()) ||!e.getLocalName().equals(name.getLocalPart())) { throw new WSDDException(Messages.getMessage("invalidWSDD00", e.getLocalName(), name.getLocalPart())); } }
/** * Make sure everything looks kosher with the element name. */ private void validateCandidateElement(Element e) throws WSDDException { QName name = getElementName(); if ((null == e) || (null == e.getNamespaceURI()) || (null == e.getLocalName()) ||!e.getNamespaceURI().equals(name.getNamespaceURI()) ||!e.getLocalName().equals(name.getLocalPart())) { throw new WSDDException(Messages.getMessage("invalidWSDD00", e.getLocalName(), name.getLocalPart())); } }