Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.compiler
Class SAXCompiler  view SAXCompiler download SAXCompiler.java

java.lang.Object
  extended bycom.sun.facelets.compiler.Compiler
      extended bycom.sun.facelets.compiler.SAXCompiler

public final class SAXCompiler
extends Compiler

Compiler implementation that uses SAX

Version:
$Id: SAXCompiler.java,v 1.13 2006/05/31 04:16:46 jhook Exp $

Nested Class Summary
private static class SAXCompiler.CompilationHandler
           
 
Field Summary
private static java.util.regex.Pattern XmlDeclaration
           
 
Fields inherited from class com.sun.facelets.compiler.Compiler
EXPRESSION_FACTORY, log
 
Constructor Summary
SAXCompiler()
           
 
Method Summary
private  javax.xml.parsers.SAXParser createSAXParser(SAXCompiler.CompilationHandler handler)
           
 com.sun.facelets.FaceletHandler doCompile(java.net.URL src, java.lang.String alias)
           
protected static java.lang.String writeXmlDecl(java.io.InputStream is, CompilationManager mngr)
           
 
Methods inherited from class com.sun.facelets.compiler.Compiler
addTagDecorator, addTagLibrary, compile, createExpressionFactory, createTagDecorator, createTagLibrary, getFeature, isTrimmingComments, isTrimmingWhitespace, isValidating, setFeature, setTrimmingComments, setTrimmingWhitespace, setValidating
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XmlDeclaration

private static final java.util.regex.Pattern XmlDeclaration
Constructor Detail

SAXCompiler

public SAXCompiler()
Method Detail

doCompile

public com.sun.facelets.FaceletHandler doCompile(java.net.URL src,
                                                 java.lang.String alias)
                                          throws java.io.IOException,
                                                 com.sun.facelets.FaceletException,
                                                 ELException,
                                                 javax.faces.FacesException
Specified by:
doCompile in class Compiler

writeXmlDecl

protected static final java.lang.String writeXmlDecl(java.io.InputStream is,
                                                     CompilationManager mngr)
                                              throws java.io.IOException

createSAXParser

private final javax.xml.parsers.SAXParser createSAXParser(SAXCompiler.CompilationHandler handler)
                                                   throws org.xml.sax.SAXException,
                                                          javax.xml.parsers.ParserConfigurationException