Class SAXCompiler
java.lang.Object
org.apache.myfaces.view.facelets.compiler.Compiler
org.apache.myfaces.view.facelets.compiler.SAXCompiler
Compiler implementation that uses SAX
- Version:
- $Id$
- Author:
- Jacob Hookom
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Compiler.CompilerResult
protected Compiler.CompilerResult
doCompileCompositeComponentMetadata
(URL src, String alias) protected Compiler.CompilerResult
doCompileViewMetadata
(URL src, String alias) protected FaceletsProcessingInstructions
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
-
Constructor Details
-
SAXCompiler
public SAXCompiler()
-
-
Method Details
-
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
-
getFaceletsProcessingInstructions
-
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
-