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 1526422 2013-09-26 08:57:23Z lu4242 $
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(URL src, String alias)
           
protected  FaceletHandler doCompileCompositeComponentMetadata(URL src, String alias)
           
protected  FaceletHandler doCompileViewMetadata(URL src, String alias)
           
protected  FaceletsProcessingInstructions getFaceletsProcessingInstructions(URL src, String alias)
           
protected static String getXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
           
protected static String writeXmlDecl(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, getFaceletsProcessingConfigurations, getFeature, isDevelopmentProjectStage, isTrimmingComments, isTrimmingWhitespace, isValidating, setDevelopmentProjectStage, setFaceletsProcessingConfigurations, 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(URL src,
                                String alias)
                         throws IOException,
                                FaceletException,
                                javax.el.ELException,
                                FacesException
Specified by:
doCompile in class Compiler
Throws:
IOException
FaceletException
javax.el.ELException
FacesException

doCompileViewMetadata

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

doCompileCompositeComponentMetadata

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

getFaceletsProcessingInstructions

protected FaceletsProcessingInstructions getFaceletsProcessingInstructions(URL src,
                                                                           String alias)

writeXmlDecl

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

getXmlDecl

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


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