Class Compiler
java.lang.Object
org.apache.myfaces.view.facelets.compiler.Compiler
- Direct Known Subclasses:
SAXCompiler
A Compiler instance may handle compiling multiple sources
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddTagDecorator(TagDecorator decorator) final voidaddTagLibrary(TagLibrary library) final Compiler.CompilerResultfinal Compiler.CompilerResultfinal Compiler.CompilerResultcompileCompositeComponentMetadata(URL src, String alias) final Compiler.CompilerResultcompileViewMetadata(URL src, String alias) final jakarta.el.ExpressionFactoryfinal TagDecoratorfinal TagLibraryprotected abstract Compiler.CompilerResultprotected abstract Compiler.CompilerResultprotected abstract Compiler.CompilerResultdoCompileCompositeComponentMetadata(URL src, String alias) protected abstract Compiler.CompilerResultdoCompileViewMetadata(URL src, String alias) final StringgetFeature(String name) final booleanfinal booleanfinal booleanfinal booleanfinal voidsetDevelopmentProjectStage(boolean developmentProjectStage) voidsetFaceletsProcessingConfigurations(Collection<FaceletsProcessing> faceletsProcessingConfigurations) final voidsetFeature(String name, String value) final voidsetTrimmingComments(boolean trimmingComments) final voidsetTrimmingWhitespace(boolean trimmingWhitespace) final voidsetValidating(boolean validating)
-
Field Details
-
log
-
EXPRESSION_FACTORY
- See Also:
-
-
Constructor Details
-
Compiler
public Compiler()
-
-
Method Details
-
compile
public final Compiler.CompilerResult compile(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
compileViewMetadata
public final Compiler.CompilerResult compileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
compileCompositeComponentMetadata
public final Compiler.CompilerResult compileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
compileComponent
-
doCompile
protected abstract Compiler.CompilerResult doCompile(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
doCompileViewMetadata
protected abstract Compiler.CompilerResult doCompileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
doCompileCompositeComponentMetadata
protected abstract Compiler.CompilerResult doCompileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException - Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
doCompileComponent
-
createTagDecorator
-
addTagDecorator
-
createExpressionFactory
public final jakarta.el.ExpressionFactory createExpressionFactory() -
createTagLibrary
-
addTagLibrary
-
setFeature
-
getFeature
-
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
- Returns:
- Since:
- 2.1.0
-
setFaceletsProcessingConfigurations
public void setFaceletsProcessingConfigurations(Collection<FaceletsProcessing> faceletsProcessingConfigurations) - Parameters:
faceletsProcessingConfigurations-- Since:
- 2.1.0
-