org.apache.myfaces.view.facelets.compiler
Class Compiler
java.lang.Object
org.apache.myfaces.view.facelets.compiler.Compiler
- Direct Known Subclasses:
- SAXCompiler
public abstract class Compiler
- extends Object
A Compiler instance may handle compiling multiple sources
- Version:
- $Id: Compiler.java 1300255 2012-03-13 17:38:54Z lu4242 $
- Author:
- Jacob Hookom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
EXPRESSION_FACTORY
public static final String EXPRESSION_FACTORY
- See Also:
- Constant Field Values
Compiler
public Compiler()
compile
public final FaceletHandler compile(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
compileViewMetadata
public final FaceletHandler compileViewMetadata(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
compileCompositeComponentMetadata
public final FaceletHandler compileCompositeComponentMetadata(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
doCompile
protected abstract FaceletHandler doCompile(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
doCompileViewMetadata
protected abstract FaceletHandler doCompileViewMetadata(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
doCompileCompositeComponentMetadata
protected abstract FaceletHandler doCompileCompositeComponentMetadata(URL src,
String alias)
throws IOException,
FaceletException,
javax.el.ELException,
FacesException
- Throws:
IOException
FaceletException
javax.el.ELException
FacesException
createTagDecorator
public final TagDecorator createTagDecorator()
addTagDecorator
public final void addTagDecorator(TagDecorator decorator)
createExpressionFactory
public final javax.el.ExpressionFactory createExpressionFactory()
createTagLibrary
public final TagLibrary createTagLibrary()
addTagLibrary
public final void addTagLibrary(TagLibrary library)
setFeature
public final void setFeature(String name,
String value)
getFeature
public final String getFeature(String name)
isTrimmingComments
public final boolean isTrimmingComments()
setTrimmingComments
public final void setTrimmingComments(boolean trimmingComments)
isTrimmingWhitespace
public final boolean isTrimmingWhitespace()
setTrimmingWhitespace
public final void setTrimmingWhitespace(boolean trimmingWhitespace)
isValidating
public final boolean isValidating()
setValidating
public final void setValidating(boolean validating)
isDevelopmentProjectStage
public final boolean isDevelopmentProjectStage()
setDevelopmentProjectStage
public final void setDevelopmentProjectStage(boolean developmentProjectStage)
getFaceletsProcessingConfigurations
public Collection<FaceletsProcessing> getFaceletsProcessingConfigurations()
- Returns:
- Since:
- 2.1.0
setFaceletsProcessingConfigurations
public void setFaceletsProcessingConfigurations(Collection<FaceletsProcessing> faceletsProcessingConfigurations)
- Since:
- 2.1.0
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.