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.CompilerResult
doCompile(URL src, String alias)
protected Compiler.CompilerResult
doCompileComponent(String taglibURI, String tagName, Map<String,Object> attributes)
protected Compiler.CompilerResult
doCompileCompositeComponentMetadata(URL src, String alias)
protected Compiler.CompilerResult
doCompileViewMetadata(URL src, String alias)
protected FaceletsProcessingInstructions
getDefaultFaceletsProcessingInstructions()
protected FaceletsProcessingInstructions
getFaceletsProcessingInstructions(URL src, String alias)
protected static String
getXmlDecl(InputStream is, org.apache.myfaces.view.facelets.compiler.CompilationManager mngr)
protected static String
writeXmlDecl(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:
doCompile
in classCompiler
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
-
doCompileViewMetadata
protected Compiler.CompilerResult doCompileViewMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Specified by:
doCompileViewMetadata
in classCompiler
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
- Since:
- 2.0
-
doCompileCompositeComponentMetadata
protected Compiler.CompilerResult doCompileCompositeComponentMetadata(URL src, String alias) throws IOException, FaceletException, jakarta.el.ELException, FacesException
- Specified by:
doCompileCompositeComponentMetadata
in classCompiler
- Throws:
IOException
FaceletException
jakarta.el.ELException
FacesException
- Since:
- 2.0.1
-
doCompileComponent
protected Compiler.CompilerResult doCompileComponent(String taglibURI, String tagName, Map<String,Object> attributes)
- Specified by:
doCompileComponent
in 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
-
-