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.CompilerResultprotected Compiler.CompilerResultdoCompileCompositeComponentMetadata(URL src, String alias) protected Compiler.CompilerResultdoCompileViewMetadata(URL src, String alias) protected FaceletsProcessingInstructionsprotected 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
-
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:
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
-
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
-