Examples of ErrorLocatorImpl


Examples of org.apache.woden.internal.ErrorLocatorImpl

        if(attrValue == null)
        {
            setValid(false);
            getErrorReporter().reportError(
                    new ErrorLocatorImpl()//TODO line&col nos.
                    "WSDL508",
                    new Object[] {attrValue},
                    ErrorReporter.SEVERITY_ERROR);
        }
        return attrValue;
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

        //Second, assume the attribute contains a list of xs:QName.
        if(attrValue == null || emptyString.equals(attrValue))
        {
            setValid(false);
            getErrorReporter().reportError(
                    new ErrorLocatorImpl()//TODO line&col nos.
                    "WSDL509",
                    new Object[] {attrValue},
                    ErrorReporter.SEVERITY_ERROR);
            return null;
        }
       
        List qnStrings = StringUtils.parseNMTokens(attrValue);
        Iterator i = qnStrings.iterator();
        String qnString;
        QName qname;
        List qnames = new Vector();
       
        while(i.hasNext())
        {
            qnString = (String)i.next();
            try
            {
                qname = ownerEl.getQName(qnString);
            }
            catch (WSDLException e)
            {
                setValid(false);
                getErrorReporter().reportError(
                        new ErrorLocatorImpl()//TODO line&col nos.
                        "WSDL510",
                        new Object[] {qnString, attrValue},
                        ErrorReporter.SEVERITY_ERROR,
                        e);
                continue;
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

        if(attrValue == null)
        {
            setValid(false);
            getErrorReporter().reportError(
                    new ErrorLocatorImpl()//TODO line&col nos.
                    "WSDL508",
                    new Object[] {attrValue},
                    ErrorReporter.SEVERITY_ERROR);
        }
        return attrValue;
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    {
        if(attrValue == null || emptyString.equals(attrValue))
        {
            setValid(false);
            getErrorReporter().reportError(
                    new ErrorLocatorImpl()//TODO line&col nos.
                    "WSDL509",
                    new Object[] {attrValue},
                    ErrorReporter.SEVERITY_ERROR);
            return null;
        }
       
        List qnStrings = StringUtils.parseNMTokens(attrValue);
        Iterator i = qnStrings.iterator();
        String qnString;
        QName qname;
        List qnames = new Vector();
       
        while(i.hasNext())
        {
            qnString = (String)i.next();
            try
            {
                qname = ownerEl.getQName(qnString);
            }
            catch (WSDLException e)
            {
                setValid(false);
                getErrorReporter().reportError(
                        new ErrorLocatorImpl()//TODO line&col nos.
                        "WSDL510",
                        new Object[] {qnString, attrValue},
                        ErrorReporter.SEVERITY_ERROR,
                        e);
                continue;
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

       
        if(qn == null)
        {
            setValid(false);
            getErrorReporter().reportError(
                    new ErrorLocatorImpl()//TODO line&col nos.
                    "WSDL507",
                    new Object[] {attrValue},
                    ErrorReporter.SEVERITY_ERROR,
                    ex);
        }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

            try {
                QName qname = extEl.getQName(elemDeclQN);
                soapHdr.setElementName(qname);
            } catch (WSDLException e) {
                extReg.getErrorReporter().reportError(
                        new ErrorLocatorImpl()//TODO line&col nos.
                        "WSDL505",
                        new Object[] {elemDeclQN, extEl.getLocalName()},
                        ErrorReporter.SEVERITY_ERROR);
            }
        }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

  {
  Interface[] extendedInterfaces = interfac.getExtendedInterfaces();
  Interface extendedInterface = containsInterface(interfac, extendedInterfaces);
  if(extendedInterface != null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "Interface-1009", new Object[]{extendedInterface.getName()}, ErrorReporter.SEVERITY_ERROR);
    return false;
  }
  return true;
  }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

    QName name = interfaces[i].getName();
      if(name == null)
        continue;
    if(names.contains(name))
    {
    errorReporter.reportError(new ErrorLocatorImpl(), "Interface-1010", new Object[]{name}, ErrorReporter.SEVERITY_ERROR);
    duplicateFound = true;
    }
    else
    {
    names.add(name);
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

   */
  protected boolean testAssertionMEP1022(URI pattern, ErrorReporter errorReporter) throws WSDLException
  {
  if(!pattern.isAbsolute())
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "MEP-1022", new Object[]{pattern}, ErrorReporter.SEVERITY_ERROR);
    return false;
  }
  return true;
  }
View Full Code Here

Examples of org.apache.woden.internal.ErrorLocatorImpl

  {
  String messContentModel = messageReference.getMessageContentModel();
  if((messContentModel.equals(Constants.NMTOKEN_ANY) || messContentModel.equals(Constants.NMTOKEN_NONE))
    && messageReference.getElementDeclaration() != null)
  {
    errorReporter.reportError(new ErrorLocatorImpl(), "InterfaceMessageReference-1028", new Object[]{}, ErrorReporter.SEVERITY_ERROR);
    return false;
  }
  return true;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.