final class CompilationManager
extends java.lang.Object
com.sun.faces.facelets.compiler.Compiler}
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias |
private Compiler |
compiler |
private WebConfiguration |
config |
private boolean |
finished |
private InterfaceUnit |
interfaceUnit |
private static java.util.logging.Logger |
log |
private CompilationMessageHolder |
messageHolder |
private NamespaceManager |
namespaceManager |
private javax.faces.view.facelets.TagDecorator |
tagDecorator |
private int |
tagId |
private TagLibrary |
tagLibrary |
private java.util.Stack<CompilationUnit> |
units |
Constructor and Description |
---|
CompilationManager(java.lang.String alias,
Compiler compiler) |
Modifier and Type | Method and Description |
---|---|
javax.faces.view.facelets.FaceletHandler |
createFaceletHandler() |
private CompilationUnit |
currentUnit() |
private java.lang.String[] |
determineQName(javax.faces.view.facelets.Tag tag) |
private void |
finishUnit() |
java.lang.String |
getAlias() |
CompilationMessageHolder |
getCompilationMessageHolder() |
private InterfaceUnit |
getInterfaceUnit() |
private CompilationUnit |
getViewRootUnitFromStack(java.util.Stack<CompilationUnit> units) |
WebConfiguration |
getWebConfiguration() |
protected static boolean |
isImplementation(java.lang.String ns,
java.lang.String name) |
protected static boolean |
isInterface(java.lang.String ns,
java.lang.String name) |
protected static boolean |
isRemove(java.lang.String ns,
java.lang.String name) |
protected static boolean |
isTrimmed(java.lang.String ns,
java.lang.String name) |
private java.lang.String |
nextTagId() |
void |
popNamespace(java.lang.String ns) |
void |
popTag() |
void |
pushNamespace(java.lang.String prefix,
java.lang.String uri) |
void |
pushTag(javax.faces.view.facelets.Tag orig) |
void |
setCompilationMessageHolder(CompilationMessageHolder messageHolder) |
private void |
setInterfaceUnit(InterfaceUnit interfaceUnit) |
private void |
startUnit(CompilationUnit unit) |
private javax.faces.view.facelets.Tag |
trimAttributes(javax.faces.view.facelets.Tag tag) |
private javax.faces.view.facelets.Tag |
trimJSFCAttribute(javax.faces.view.facelets.Tag tag) |
private javax.faces.view.facelets.Tag |
trimNSAttributes(javax.faces.view.facelets.Tag tag) |
void |
writeComment(java.lang.String text) |
void |
writeInstruction(java.lang.String value) |
void |
writeText(java.lang.String value) |
void |
writeWhitespace(java.lang.String text) |
private static final java.util.logging.Logger log
private final Compiler compiler
private final TagLibrary tagLibrary
private final javax.faces.view.facelets.TagDecorator tagDecorator
private final NamespaceManager namespaceManager
private final java.util.Stack<CompilationUnit> units
private int tagId
private boolean finished
private final java.lang.String alias
private CompilationMessageHolder messageHolder
private WebConfiguration config
private InterfaceUnit interfaceUnit
public CompilationManager(java.lang.String alias, Compiler compiler)
private InterfaceUnit getInterfaceUnit()
public CompilationMessageHolder getCompilationMessageHolder()
public java.lang.String getAlias()
public WebConfiguration getWebConfiguration()
public void setCompilationMessageHolder(CompilationMessageHolder messageHolder)
private void setInterfaceUnit(InterfaceUnit interfaceUnit)
public void writeInstruction(java.lang.String value)
public void writeText(java.lang.String value)
public void writeComment(java.lang.String text)
public void writeWhitespace(java.lang.String text)
private java.lang.String nextTagId()
public void pushTag(javax.faces.view.facelets.Tag orig)
public void popTag()
public void popNamespace(java.lang.String ns)
public void pushNamespace(java.lang.String prefix, java.lang.String uri)
public javax.faces.view.facelets.FaceletHandler createFaceletHandler()
private CompilationUnit currentUnit()
private void finishUnit()
private void startUnit(CompilationUnit unit)
private javax.faces.view.facelets.Tag trimAttributes(javax.faces.view.facelets.Tag tag)
protected static boolean isRemove(java.lang.String ns, java.lang.String name)
protected static boolean isTrimmed(java.lang.String ns, java.lang.String name)
protected static boolean isImplementation(java.lang.String ns, java.lang.String name)
protected static boolean isInterface(java.lang.String ns, java.lang.String name)
private java.lang.String[] determineQName(javax.faces.view.facelets.Tag tag)
private javax.faces.view.facelets.Tag trimJSFCAttribute(javax.faces.view.facelets.Tag tag)
private javax.faces.view.facelets.Tag trimNSAttributes(javax.faces.view.facelets.Tag tag)
private CompilationUnit getViewRootUnitFromStack(java.util.Stack<CompilationUnit> units)
units
- the compilation units.Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.