congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AtomicParser.setResult
Code IndexAdd Tabnine to your IDE (free)

How to use
setResult
method
in
org.apache.xmlrpc.parser.AtomicParser

Best Java code snippets using org.apache.xmlrpc.parser.AtomicParser.setResult (Showing top 20 results out of 315)

origin: apache/cloudstack

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(Long.valueOf(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: "
          + pResult, getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Float(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse float value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Double(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse double value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: rosjava/rosjava_core

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Integer(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse integer value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: rosjava/rosjava_core

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Long(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Long(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new BigDecimal(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse BigDecimal value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Integer(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse integer value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Long(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Short(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse short value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.apache.xmlrpc/xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Byte(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse byte value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new BigDecimal(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse BigDecimal value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Short(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse short value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    if (pResult == null  ||  "".equals(pResult.trim())) {
      super.setResult((Object) null);
    } else {
      throw new SAXParseException("Unexpected characters in nil element.",
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Long(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Byte(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse byte value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new BigInteger(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse BigInteger value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Long(pResult.trim()));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse long value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-common

  protected void setResult(String pResult) throws SAXException {
    try {
      super.setResult(new Float(pResult));
    } catch (NumberFormatException e) {
      throw new SAXParseException("Failed to parse float value: " + pResult,
                    getDocumentLocator());
    }
  }
}
origin: rosjava/rosjava_core

public void endElement(String pURI, String pLocalName, String pQName) throws SAXException {
  if (--level == 0) {
    setResult(sb.toString());
  } else {
    throw new SAXParseException("Unexpected end tag in atomic element: "
                  + new QName(pURI, pLocalName),
                  getDocumentLocator());
  }
}
org.apache.xmlrpc.parserAtomicParsersetResult

Popular methods of AtomicParser

  • getDocumentLocator
  • isEmpty

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JCheckBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now