jetbrains.buildServer
Class TCNonValidatedSAXParser

java.lang.Object
  extended by jetbrains.buildServer.TCNonValidatedSAXParser
All Implemented Interfaces:
org.xml.sax.Parser
Direct Known Subclasses:
TCNonValidatedSAXParserWithDebug

public class TCNonValidatedSAXParser
extends java.lang.Object
implements org.xml.sax.Parser

Using of the parsers pool speedups creation of SAX parsers. A new SAX parser is created for every XML RPC request, according to tests pool speedups XML RPC processing up to 20%.


Constructor Summary
TCNonValidatedSAXParser()
           
 
Method Summary
 void parse(org.xml.sax.InputSource inputSource)
           
 void parse(java.lang.String systemId)
           
 void setDocumentHandler(org.xml.sax.DocumentHandler handler)
           
 void setDTDHandler(org.xml.sax.DTDHandler handler)
           
 void setEntityResolver(org.xml.sax.EntityResolver resolver)
           
 void setErrorHandler(org.xml.sax.ErrorHandler handler)
           
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCNonValidatedSAXParser

public TCNonValidatedSAXParser()
Method Detail

parse

public void parse(java.lang.String systemId)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Specified by:
parse in interface org.xml.sax.Parser
Throws:
org.xml.sax.SAXException
java.io.IOException

parse

public void parse(org.xml.sax.InputSource inputSource)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Specified by:
parse in interface org.xml.sax.Parser
Throws:
org.xml.sax.SAXException
java.io.IOException

setLocale

public void setLocale(java.util.Locale locale)
               throws org.xml.sax.SAXException
Specified by:
setLocale in interface org.xml.sax.Parser
Throws:
org.xml.sax.SAXException

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver resolver)
Specified by:
setEntityResolver in interface org.xml.sax.Parser

setDTDHandler

public void setDTDHandler(org.xml.sax.DTDHandler handler)
Specified by:
setDTDHandler in interface org.xml.sax.Parser

setDocumentHandler

public void setDocumentHandler(org.xml.sax.DocumentHandler handler)
Specified by:
setDocumentHandler in interface org.xml.sax.Parser

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)
Specified by:
setErrorHandler in interface org.xml.sax.Parser