Package com.liferay.faces.util.xml

Examples of com.liferay.faces.util.xml.SAXParserFactory


    // Obtain a ResourceReader that is compatible with a startup ExternalContext
    ResourceReader resourceReader = newResourceReader();

    // Obtain a SAX Parser Factory.
    SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
    saxParserFactory.setValidating(false);
    saxParserFactory.setNamespaceAware(true);

    try {

      // Obtain a SAX Parser from the factory.
      SAXParser saxParser = saxParserFactory.newSAXParser();

      // Scan all the web.xml and web-fragment.xml descriptors in the classpath.
      WebConfigScanner webConfigScanner = newWebConfigScanner(classLoader, resourceReader, saxParser,
          resolveEntities);
      WebConfig webConfig = webConfigScanner.scan();
View Full Code Here

TOP

Related Classes of com.liferay.faces.util.xml.SAXParserFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.