| java.lang.Object org.netbeans.modules.visualweb.insync.beans.BeansUnit org.netbeans.modules.visualweb.insync.faces.FacesUnit
All known Subclasses: org.netbeans.modules.visualweb.insync.faces.FacesPageUnit,
FacesUnit | public class FacesUnit extends BeansUnit (Code) | | An extended BeansUnit that is aware of JavaServer Faces features and designtime requirements and
support. Provides access to the FacesContainer support provided in jsfsupport, as well as
handling JSF related metadata queries.
General JSF managed beans can be designed using an instance of this class. For page backing beans
See Also: FacesPageUnit author: cquinn |
FACES_IMPLICIT_OBJECTS | final protected static String[] FACES_IMPLICIT_OBJECTS(Code) | | |
facesImplicitNamesMap | protected static HashMap facesImplicitNamesMap(Code) | | |
fixPossiblyImplicitBeanName | public static String fixPossiblyImplicitBeanName(String beanName)(Code) | | |
getBeanDescriptorValue | final public static String getBeanDescriptorValue(BeanInfo bi, String name)(Code) | | Get a given BeanDescriptor value by name from a BeanInfo
Parameters: bi - Parameters: name - |
getBeanMarkupSection | final public static String getBeanMarkupSection(BeanInfo beanInfo)(Code) | | Get the tag name for a given faces type
Parameters: beanInfo - |
getBeanName | public String getBeanName()(Code) | | the name of the runtime faces managed-bean for this unit's outer bean |
getBeanNameUnfixed | public String getBeanNameUnfixed()(Code) | | the name of the runtime faces managed-bean for this unit's outer bean |
getBeanTagName | final public static String getBeanTagName(BeanInfo beanInfo)(Code) | | Get the tag name for a given bean type
Parameters: beanInfo - |
getBeanTaglibPrefix | final public static String getBeanTaglibPrefix(BeanInfo beanInfo)(Code) | | Get the recomended tag library prefix for a given faces type
Parameters: beanInfo - |
getBeanTaglibUri | final public static String getBeanTaglibUri(BeanInfo beanInfo)(Code) | | Get the tag library URI for a given faces type
Parameters: beanInfo - |
getFacesApplication | public Application getFacesApplication()(Code) | | Get the one unique faces Application for this unit
|
getFacesContext | public FacesContext getFacesContext()(Code) | | Get the one unique FacesContext for this unit
|
isFacesBean | final public static boolean isFacesBean(BeanInfo beanInfo)(Code) | | Return whether a bean described by a BeanInto is a faces component bean (UIComponent)
Parameters: beanInfo - |
isHtmlBean | final public static boolean isHtmlBean(BeanInfo beanInfo)(Code) | | Return whether a bean described by a BeanInto is an html bean
Parameters: beanInfo - |
isImplicitBeanName | public static boolean isImplicitBeanName(String beanName)(Code) | | |
Methods inherited from org.netbeans.modules.visualweb.insync.beans.BeansUnit | final public Bean addBean(BeanInfo beanInfo, Bean parent, String name, String facet, Position pos)(Code)(Java Doc) final public void addBindingBean(String name)(Code)(Java Doc) public void addXRefAccessor(String bname, String type)(Code)(Java Doc) protected void bind()(Code)(Java Doc) protected Bean bindBean(String name, List<String> typeNames)(Code)(Java Doc) protected void bindBeanParents()(Code)(Java Doc) protected void bindBeans()(Code)(Java Doc) protected void bindEventSets(List<Statement> stmts)(Code)(Java Doc) protected void bindProperties(List<Statement> stmts)(Code)(Java Doc) public boolean canCreateBean(BeanInfo bi, Bean parent)(Code)(Java Doc) public void destroy()(Code)(Java Doc) public void dumpTo(PrintWriter w)(Code)(Java Doc) public EventMethod ensureEventMethod(MethodDescriptor md, String name, String defaultBody, String[] parameterNames, String[] requiredImports)(Code)(Java Doc) public void ensureImportForType(String type)(Code)(Java Doc) protected Bean firstBeanOfType(Bean bean, Class type)(Code)(Java Doc) protected Bean firstBeanOfType(Bean[] beans, Class type)(Code)(Java Doc) public Class getBaseBeanClass()(Code)(Java Doc) public String getBaseBeanClassName()(Code)(Java Doc) public Bean getBean(String name)(Code)(Java Doc) public Class getBeanClass(String type) throws ClassNotFoundException(Code)(Java Doc) public static BeanInfo getBeanInfo(Class cls, ClassLoader classLoader)(Code)(Java Doc) public BeanInfo getBeanInfo(String type)(Code)(Java Doc) public String getBeanName()(Code)(Java Doc) public BeanStructureScanner getBeanStructureScanner()(Code)(Java Doc) public Bean[] getBeans()(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public Method getCleanupMethod()(Code)(Java Doc) public ParserAnnotation[] getErrors()(Code)(Java Doc) public Method getEventMethod(String name, MethodDescriptor md)(Code)(Java Doc) public Method getInitializerMethod()(Code)(Java Doc) public JavaUnit getJavaUnit()(Code)(Java Doc) public Model getModel()(Code)(Java Doc) protected BeanStructureScanner getNewBeanStructureScanner()(Code)(Java Doc) public Method getPropertiesInitMethod()(Code)(Java Doc) public List<Statement> getPropertiesInitStatements()(Code)(Java Doc) public org.w3c.dom.Element getRootElement()(Code)(Java Doc) public Object getRootInstance()(Code)(Java Doc) public State getState()(Code)(Java Doc) public JavaClass getThisClass()(Code)(Java Doc) public String getThisClassName()(Code)(Java Doc) public String getThisPackageName()(Code)(Java Doc) public boolean hasEventMethod(MethodDescriptor md, String name)(Code)(Java Doc) public Object instantiateBean(Class cls)(Code)(Java Doc) protected boolean isBeanNameAvailable(String name, Bean bean)(Code)(Java Doc) public boolean isPageBean()(Code)(Java Doc) public boolean isWriteLocked()(Code)(Java Doc) public void moveBean(Bean bean, Bean newparent, Position pos)(Code)(Java Doc) protected Bean newBoundBean(BeanInfo beanInfo, String name, List<String> typeNames)(Code)(Java Doc) protected EventSet newBoundEventSet(Statement stmt)(Code)(Java Doc) protected Property newBoundProperty(Statement stmt)(Code)(Java Doc) protected Bean newCreatedBean(BeanInfo beanInfo, Bean parent, String name, String facet, Position pos)(Code)(Java Doc) protected String nextAvailableName(String base, Bean bean, boolean alwaysNumber)(Code)(Java Doc) protected String nextNameForType(String type)(Code)(Java Doc) public void readLock()(Code)(Java Doc) public void readUnlock()(Code)(Java Doc) final public void removeBean(Bean bean)(Code)(Java Doc) final public void removeBindingBean(String name)(Code)(Java Doc) protected void scan()(Code)(Java Doc) protected void scanName(String type, String name)(Code)(Java Doc) public void setClassLoader(ClassLoader cl)(Code)(Java Doc) public boolean sync()(Code)(Java Doc) protected boolean syncSubUnits()(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void updateName(String type, int index)(Code)(Java Doc) public void writeLock(UndoEvent event)(Code)(Java Doc) public boolean writeUnlock(UndoEvent event)(Code)(Java Doc)
|
|
|