Java Doc for PageElementFactory.java in  » Library » Tapestry » org » apache » tapestry » internal » services » 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 » Library » Tapestry » org.apache.tapestry.internal.services 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tapestry.internal.services.PageElementFactory

All known Subclasses:   org.apache.tapestry.internal.services.PageElementFactoryImpl,
PageElementFactory
public interface PageElementFactory (Code)
Used by the org.apache.tapestry.internal.services.PageLoader to create page elements




Method Summary
 voidaddMixinByClassName(ComponentPageElement component, String mixinClassName)
     Adds a mixin to the element.
 voidaddMixinByTypeName(ComponentPageElement component, String mixinType)
     Adds a mixin to the element, resolving the mixin type to a mixin class.
 PageElementnewAttributeElement(ComponentResources componentResources, AttributeToken token)
    
 BindingnewBinding(String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, String defaultBindingPrefix, String expression, Location location)
     Creates a new binding as with BindingSource.newBinding(StringComponentResourcesComponentResourcesStringStringLocation) .
 PageElementnewCommentElement(CommentToken token)
     Creates a new element from the token.
 ComponentPageElementnewComponentElement(Page page, ComponentPageElement container, String id, String componentType, String componentClassName, String elementName, Location location)
     Creates a new component and adds it to the page and to its container.
 PageElementnewDTDElement(DTDToken token)
    
 PageElementnewEndElement()
    
 PageElementnewExpansionElement(ComponentResources componentResources, ExpansionToken token)
    
 PageElementnewRenderBodyElement(ComponentPageElement component)
    
 ComponentPageElementnewRootComponentElement(Page page, String className)
     Creates a new root component for a page.
 PageElementnewStartElement(StartElementToken token)
    
 PageElementnewTextElement(TextToken token)
    



Method Detail
addMixinByClassName
void addMixinByClassName(ComponentPageElement component, String mixinClassName)(Code)
Adds a mixin to the element.

Sure, this isn't quite a factory method, but PEF has all the tools to accomplish this handy, as opposed to PageLoaderImpl.
Parameters:
  component - the component to which a mixin will be added
Parameters:
  mixinClassName - fully qualified class name of the mixin




addMixinByTypeName
void addMixinByTypeName(ComponentPageElement component, String mixinType)(Code)
Adds a mixin to the element, resolving the mixin type to a mixin class.

Sure, this isn't quite a factory method, but PEF has all the tools to accomplish this handy, as opposed to PageLoaderImpl.
Parameters:
  component - the component to which a mixin will be added
Parameters:
  mixinType - used to resolve the mixin class name




newAttributeElement
PageElement newAttributeElement(ComponentResources componentResources, AttributeToken token)(Code)



newBinding
Binding newBinding(String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, String defaultBindingPrefix, String expression, Location location)(Code)
Creates a new binding as with BindingSource.newBinding(StringComponentResourcesComponentResourcesStringStringLocation) . However, if the binding contains an expansion (i.e., ${...}), then a binding that returns the fully expanded expression will be returned.



newCommentElement
PageElement newCommentElement(CommentToken token)(Code)
Creates a new element from the token.



newComponentElement
ComponentPageElement newComponentElement(Page page, ComponentPageElement container, String id, String componentType, String componentClassName, String elementName, Location location)(Code)
Creates a new component and adds it to the page and to its container.

Note: doesn't add the component as a child of the container.
Parameters:
  page - the page that will ultimately contain the new component
Parameters:
  container - the existing component that contains the new component
Parameters:
  id - the id, unique within the container, of the new component
Parameters:
  componentType - the type of the component (as defined in the template or the Componentannotation)
Parameters:
  componentClassName - the fully qualfied class name used when the componentType is blank (null or theempty string)
Parameters:
  elementName - TODO
Parameters:
  location - location of the component's element within its container's template the newly created comopnent, after adding it to the page and container




newDTDElement
PageElement newDTDElement(DTDToken token)(Code)



newEndElement
PageElement newEndElement()(Code)



newExpansionElement
PageElement newExpansionElement(ComponentResources componentResources, ExpansionToken token)(Code)



newRenderBodyElement
PageElement newRenderBodyElement(ComponentPageElement component)(Code)



newRootComponentElement
ComponentPageElement newRootComponentElement(Page page, String className)(Code)
Creates a new root component for a page. Adds any mixins defined by the components model.
Parameters:
  page - the page that will contain the root component
Parameters:
  className - the fully qualified class name of the root component the root page element



newStartElement
PageElement newStartElement(StartElementToken token)(Code)



newTextElement
PageElement newTextElement(TextToken token)(Code)



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