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$
- Author:
- Jacob Hookom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Compiler.CompilerResult
-
Field Summary
Fields Modifier and Type Field Description static String
EXPRESSION_FACTORY
protected static Logger
log
-
Constructor Summary
Constructors Constructor Description Compiler()
-
Method Summary
-
-
-
Field Detail
-
log
protected static final Logger log
-
EXPRESSION_FACTORY
public static final String EXPRESSION_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
compile
public final Compiler.CompilerResult compile(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
compileViewMetadata
public final Compiler.CompilerResult compileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
compileCompositeComponentMetadata
public final Compiler.CompilerResult compileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
compileComponent
public final Compiler.CompilerResult compileComponent(String taglibURI, String tagName, Map<String,Object> attributes)
-
doCompile
protected abstract Compiler.CompilerResult doCompile(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
doCompileViewMetadata
protected abstract Compiler.CompilerResult doCompileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
doCompileCompositeComponentMetadata
protected abstract Compiler.CompilerResult doCompileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
doCompileComponent
protected abstract Compiler.CompilerResult doCompileComponent(String taglibURI, String tagName, Map<String,Object> attributes)
-
createTagDecorator
public final TagDecorator createTagDecorator()
-
addTagDecorator
public final void addTagDecorator(TagDecorator decorator)
-
createExpressionFactory
public final jakarta.el.ExpressionFactory createExpressionFactory()
-
createTagLibrary
public final TagLibrary createTagLibrary()
-
addTagLibrary
public final void addTagLibrary(TagLibrary library)
-
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)
- Parameters:
faceletsProcessingConfigurations
-- Since:
- 2.1.0
-
-