Java Doc for FacesUnit.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » insync » faces » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.insync.faces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
final protected static  String[]FACES_IMPLICIT_OBJECTS
    
final protected  FacesContainercontainer
    
protected static  HashMapfacesImplicitNamesMap
    
final protected  StringrootPackage
    

Constructor Summary
public  FacesUnit(JavaUnit junit, ClassLoader cl, String packageName, Model model, String rootPackage, FacesContainer container)
    

Method Summary
public static  StringfixPossiblyImplicitBeanName(String beanName)
    
final public static  StringgetBeanDescriptorValue(BeanInfo bi, String name)
    
final public static  StringgetBeanMarkupSection(BeanInfo beanInfo)
    
public  StringgetBeanName()
    
public  StringgetBeanNameUnfixed()
    
final public static  StringgetBeanTagName(BeanInfo beanInfo)
    
final public static  StringgetBeanTaglibPrefix(BeanInfo beanInfo)
    
final public static  StringgetBeanTaglibUri(BeanInfo beanInfo)
    
public  ApplicationgetFacesApplication()
    
public  FacesContextgetFacesContext()
    
protected  BeanStructureScannergetNewBeanStructureScanner()
    
final public static  booleanisFacesBean(BeanInfo beanInfo)
    
final public static  booleanisHtmlBean(BeanInfo beanInfo)
    
public static  booleanisImplicitBeanName(String beanName)
    

Field Detail
FACES_IMPLICIT_OBJECTS
final protected static String[] FACES_IMPLICIT_OBJECTS(Code)



container
final protected FacesContainer container(Code)



facesImplicitNamesMap
protected static HashMap facesImplicitNamesMap(Code)



rootPackage
final protected String rootPackage(Code)




Constructor Detail
FacesUnit
public FacesUnit(JavaUnit junit, ClassLoader cl, String packageName, Model model, String rootPackage, FacesContainer container)(Code)

Parameters:
  junit -
Parameters:
  cl -
Parameters:
  packageName -
Parameters:
  rootPackage -
Parameters:
  container -




Method Detail
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



getNewBeanStructureScanner
protected BeanStructureScanner getNewBeanStructureScanner()(Code)



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)



Fields inherited from org.netbeans.modules.visualweb.insync.beans.BeansUnit
protected BeanStructureScanner beanStructureScanner(Code)(Java Doc)
final protected List<Bean> beans(Code)(Java Doc)
protected List<Bean> beansToAdd(Code)(Java Doc)
protected List<Bean> beansToRemove(Code)(Java Doc)
protected ClassLoader classLoader(Code)(Java Doc)
protected ParserAnnotation error(Code)(Java Doc)
protected JavaClass javaClass(Code)(Java Doc)
protected JavaUnit junit(Code)(Java Doc)
protected Model model(Code)(Java Doc)
final protected Map nameCounters(Code)(Java Doc)
protected String packageName(Code)(Java Doc)
protected boolean syncedSinceConstructed(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.