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
 javax.faces.view.facelets.FaceletHandler doCompile(java.net.URL src, java.lang.String alias)
           
protected  javax.faces.view.facelets.FaceletHandler doCompileCompositeComponentMetadata(java.net.URL src, java.lang.String alias)
           
protected  javax.faces.view.facelets.FaceletHandler doCompileViewMetadata(java.net.URL src, java.lang.String alias)
           
protected  FaceletsProcessingInstructions getFaceletsProcessingInstructions(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, getFaceletsProcessingConfigurations, getFeature, isTrimmingComments, isTrimmingWhitespace, isValidating, 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 javax.faces.view.facelets.FaceletHandler doCompile(java.net.URL src,
                                                          java.lang.String alias)
                                                   throws java.io.IOException,
                                                          javax.faces.view.facelets.FaceletException,
                                                          javax.el.ELException,
                                                          javax.faces.FacesException
Specified by:
doCompile in class Compiler
Throws:
java.io.IOException
javax.faces.view.facelets.FaceletException
javax.el.ELException
javax.faces.FacesException

doCompileViewMetadata

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

doCompileCompositeComponentMetadata

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

getFaceletsProcessingInstructions

protected FaceletsProcessingInstructions getFaceletsProcessingInstructions(java.net.URL src,
                                                                           java.lang.String alias)

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 © 2011 The Apache Software Foundation. All Rights Reserved.