Class SAXCompiler
- java.lang.Object
-
- org.apache.myfaces.view.facelets.compiler.Compiler
-
- org.apache.myfaces.view.facelets.compiler.SAXCompiler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.myfaces.view.facelets.compiler.Compiler
Compiler.CompilerResult
-
-
Field Summary
-
Fields inherited from class org.apache.myfaces.view.facelets.compiler.Compiler
EXPRESSION_FACTORY, log
-
-
Constructor Summary
Constructors Constructor Description SAXCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Compiler.CompilerResultdoCompile(URL src, String alias)protected Compiler.CompilerResultdoCompileComponent(String taglibURI, String tagName, Map<String,Object> attributes)protected Compiler.CompilerResultdoCompileCompositeComponentMetadata(URL src, String alias)protected Compiler.CompilerResultdoCompileViewMetadata(URL src, String alias)protected FaceletsProcessingInstructionsgetDefaultFaceletsProcessingInstructions()protected FaceletsProcessingInstructionsgetFaceletsProcessingInstructions(URL src, String alias)protected static StringgetXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)protected static StringwriteXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)-
Methods inherited from class org.apache.myfaces.view.facelets.compiler.Compiler
addTagDecorator, addTagLibrary, compile, compileComponent, compileCompositeComponentMetadata, compileViewMetadata, createExpressionFactory, createTagDecorator, createTagLibrary, getFaceletsProcessingConfigurations, getFeature, isDevelopmentProjectStage, isTrimmingComments, isTrimmingWhitespace, isValidating, setDevelopmentProjectStage, setFaceletsProcessingConfigurations, setFeature, setTrimmingComments, setTrimmingWhitespace, setValidating
-
-
-
-
Method Detail
-
doCompile
public Compiler.CompilerResult doCompile(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Specified by:
doCompilein classCompiler- Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException
-
doCompileViewMetadata
protected Compiler.CompilerResult doCompileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Specified by:
doCompileViewMetadatain classCompiler- Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException- Since:
- 2.0
-
doCompileCompositeComponentMetadata
protected Compiler.CompilerResult doCompileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Specified by:
doCompileCompositeComponentMetadatain classCompiler- Throws:
IOExceptionFaceletExceptionjakarta.el.ELExceptionFacesException- Since:
- 2.0.1
-
doCompileComponent
protected Compiler.CompilerResult doCompileComponent(String taglibURI, String tagName, Map<String,Object> attributes)
- Specified by:
doCompileComponentin classCompiler
-
getDefaultFaceletsProcessingInstructions
protected FaceletsProcessingInstructions getDefaultFaceletsProcessingInstructions()
-
getFaceletsProcessingInstructions
protected FaceletsProcessingInstructions getFaceletsProcessingInstructions(URL src, String alias)
-
writeXmlDecl
protected static String writeXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr) throws IOException
- Throws:
IOException
-
getXmlDecl
protected static String getXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr) throws IOException
- Throws:
IOException
-
-