com.liferay.faces.util.xml.internal
Class SAXParserImpl

java.lang.Object
  extended by javax.xml.parsers.SAXParser
      extended by com.liferay.faces.util.xml.internal.SAXParserImpl

public class SAXParserImpl
extends SAXParser

This class is a thread-safe implementation of SAXParser. However, it does not fully implement all of the functionality of the one provided by the JRE.

Author:
Neil Griffin

Constructor Summary
SAXParserImpl(boolean namespaceAware, boolean validating, Map<String,Boolean> featureMap)
           
 
Method Summary
 Parser getParser()
           
 Object getProperty(String name)
           
 XMLReader getXMLReader()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 void reset()
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class javax.xml.parsers.SAXParser
getSchema, isXIncludeAware, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXParserImpl

public SAXParserImpl(boolean namespaceAware,
                     boolean validating,
                     Map<String,Boolean> featureMap)
Method Detail

reset

public void reset()
Overrides:
reset in class SAXParser

isNamespaceAware

public boolean isNamespaceAware()
Specified by:
isNamespaceAware in class SAXParser

isValidating

public boolean isValidating()
Specified by:
isValidating in class SAXParser

getParser

public Parser getParser()
                 throws SAXException
Specified by:
getParser in class SAXParser
Throws:
SAXException

getProperty

public Object getProperty(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
Specified by:
getProperty in class SAXParser
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setProperty

public void setProperty(String name,
                        Object value)
                 throws SAXNotRecognizedException,
                        SAXNotSupportedException
Specified by:
setProperty in class SAXParser
Throws:
SAXNotRecognizedException
SAXNotSupportedException

getXMLReader

public XMLReader getXMLReader()
                       throws SAXException
Specified by:
getXMLReader in class SAXParser
Throws:
SAXException


Copyright © 2015 Liferay, Inc.. All rights reserved.