org.apache.myfaces.view.facelets.compiler
Class SAXCompiler

java.lang.Object
  extended by org.apache.myfaces.view.facelets.compiler.Compiler
      extended by org.apache.myfaces.view.facelets.compiler.SAXCompiler

public final class SAXCompiler
extends Compiler

Compiler implementation that uses SAX

Version:
$Id: SAXCompiler.java,v 1.14 2008/07/13 19:01:33 rlubke Exp $
Author:
Jacob Hookom
See Also:
Compiler

Field Summary
 
Fields inherited from class org.apache.myfaces.view.facelets.compiler.Compiler
EXPRESSION_FACTORY, log
 
Constructor Summary
SAXCompiler()
           
 
Method Summary
 FaceletHandler doCompile(java.net.URL src, java.lang.String alias)
           
protected  FaceletHandler doCompileCompositeComponentMetadata(java.net.URL src, java.lang.String alias)
           
protected  FaceletHandler doCompileViewMetadata(java.net.URL src, java.lang.String alias)
           
protected static java.lang.String getXmlDecl(java.io.InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
           
protected static java.lang.String writeXmlDecl(java.io.InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
           
 
Methods inherited from class org.apache.myfaces.view.facelets.compiler.Compiler
addTagDecorator, addTagLibrary, compile, compileCompositeComponentMetadata, compileViewMetadata, 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
 

Constructor Detail

SAXCompiler

public SAXCompiler()
Method Detail

doCompile

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

doCompileViewMetadata

protected FaceletHandler doCompileViewMetadata(java.net.URL src,
                                               java.lang.String alias)
                                        throws java.io.IOException,
                                               FaceletException,
                                               javax.el.ELException,
                                               FacesException
Specified by:
doCompileViewMetadata in class Compiler
Throws:
java.io.IOException
FaceletException
javax.el.ELException
FacesException
Since:
2.0

doCompileCompositeComponentMetadata

protected FaceletHandler doCompileCompositeComponentMetadata(java.net.URL src,
                                                             java.lang.String alias)
                                                      throws java.io.IOException,
                                                             FaceletException,
                                                             javax.el.ELException,
                                                             FacesException
Specified by:
doCompileCompositeComponentMetadata in class Compiler
Throws:
java.io.IOException
FaceletException
javax.el.ELException
FacesException
Since:
2.0.1

writeXmlDecl

protected static final java.lang.String writeXmlDecl(java.io.InputStream is,
                                                     org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
                                              throws java.io.IOException
Throws:
java.io.IOException

getXmlDecl

protected static final java.lang.String getXmlDecl(java.io.InputStream is,
                                                   org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
                                            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.