jlibs.xml.sax
Class SAXUtil
java.lang.Object
jlibs.xml.sax.SAXUtil
public class SAXUtil
- extends Object
- Author:
- Santhosh Kumar T
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXUtil
public SAXUtil()
newSAXFactory
public static SAXParserFactory newSAXFactory(boolean namespaces,
boolean nsPrefixes,
boolean validating)
throws ParserConfigurationException,
SAXException
- Throws:
ParserConfigurationException
SAXException
newSAXParser
public static SAXParser newSAXParser(boolean namespaces,
boolean nsPrefixes,
boolean validating)
throws ParserConfigurationException,
SAXException
- Throws:
ParserConfigurationException
SAXException
setHandler
public static void setHandler(XMLReader reader,
Object handler)
throws SAXNotSupportedException,
SAXNotRecognizedException
- Registers all sax hander interfaces implemented by
handler to the
specified reader
- Throws:
SAXNotSupportedException
SAXNotRecognizedException
Copyright © 2015. All rights reserved.