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()); } } }
@Override public TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName) { if ("".equals(pURI) && NullSerializer.NIL_TAG.equals(pLocalName)) { return new NullParser(); } else if ("i8".equals(pLocalName)) { return new LongTypeParser(); } else { return super.getParser(pConfig, pContext, pURI, pLocalName); } }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (inName) { characters(pChars, pOffset, pLength); } else { super.ignorableWhitespace(pChars, pOffset, pLength); } }
public void skippedEntity(String pEntity) throws SAXException { if (typeParser == null) { super.skippedEntity(pEntity); } else { typeParser.skippedEntity(pEntity); } }
public void processingInstruction(String pTarget, String pData) throws SAXException { if (typeParser == null) { super.processingInstruction(pTarget, pData); } else { typeParser.processingInstruction(pTarget, pData); } }
public void characters(char[] pChars, int pOffset, int pLength) throws SAXException { if (typeParser == null) { if (inValueTag) { text.append(pChars, pOffset, pLength); } else { super.characters(pChars, pOffset, pLength); } } else { typeParser.characters(pChars, pOffset, pLength); } }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (typeParser == null) { if (inValueTag) { text.append(pChars, pOffset, pLength); } else { super.ignorableWhitespace(pChars, pOffset, pLength); } } else { typeParser.ignorableWhitespace(pChars, pOffset, pLength); } }
public void startDocument() throws SAXException { super.startDocument(); level = 0; isSuccess = false; errorCode = 0; errorMessage = null; }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (handler != null) { ignorableWhitespace(pChars, pOffset, pLength); } }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (inName) { characters(pChars, pOffset, pLength); } else { super.ignorableWhitespace(pChars, pOffset, pLength); } }
public void skippedEntity(String pEntity) throws SAXException { if (typeParser == null) { super.skippedEntity(pEntity); } else { typeParser.skippedEntity(pEntity); } }
public void processingInstruction(String pTarget, String pData) throws SAXException { if (typeParser == null) { super.processingInstruction(pTarget, pData); } else { typeParser.processingInstruction(pTarget, pData); } }
public void startDocument() throws SAXException { super.startDocument(); level = 0; inMethodName = false; methodName = null; params = null; }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (handler != null) { ignorableWhitespace(pChars, pOffset, pLength); } }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (inName) { characters(pChars, pOffset, pLength); } else { super.ignorableWhitespace(pChars, pOffset, pLength); } }
public void skippedEntity(String pEntity) throws SAXException { if (typeParser == null) { super.skippedEntity(pEntity); } else { typeParser.skippedEntity(pEntity); } }
public void processingInstruction(String pTarget, String pData) throws SAXException { if (typeParser == null) { super.processingInstruction(pTarget, pData); } else { typeParser.processingInstruction(pTarget, pData); } }
public void startDocument() throws SAXException { super.startDocument(); level = 0; isSuccess = false; errorCode = 0; errorMessage = null; }
public void ignorableWhitespace(char[] pChars, int pOffset, int pLength) throws SAXException { if (handler != null) { ignorableWhitespace(pChars, pOffset, pLength); } }
public void startDocument() throws SAXException { super.startDocument(); level = 0; inMethodName = false; methodName = null; params = null; }