Java Doc for EffectWidgetReplacingPipe.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » forms » transformation » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.forms.transformation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.xml.AbstractXMLPipe
   org.apache.cocoon.forms.transformation.EffectPipe
      org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe

All known Subclasses:   org.apache.cocoon.forms.transformation.FormsTemplateTransformer,
EffectWidgetReplacingPipe
public class EffectWidgetReplacingPipe extends EffectPipe (Code)
The basic operation of this Pipe is that it replaces ft:widget (in the FormsConstants.TEMPLATE_NS namespace) tags (having an id attribute) by the XML representation of the corresponding widget instance.

These XML fragments (normally all in the FormsConstants.INSTANCE_NS "CForms Instance" namespace), can then be translated to a HTML presentation by an XSLT. This XSLT will then only have to style individual widget, and will not need to do the whole page layout.

For more information about the supported tags and their function, see the user documentation for the forms template transformer.


version:
   $Id: EffectWidgetReplacingPipe.java 449149 2006-09-23 03:58:05Z crossley $

Inner Class :protected class NestedHandler extends CopyHandler
Inner Class :protected class DocHandler extends CopyHandler
Inner Class :protected class FormHandler extends NestedHandler
Inner Class :protected class SkipHandler extends NestedHandler
Inner Class :protected class WidgetLabelHandler extends ErrorHandler
Inner Class :protected class WidgetHandler extends NullHandler
Inner Class :protected class RepeaterSizeHandler extends ErrorHandler
Inner Class :protected class RepeaterWidgetLabelHandler extends ErrorHandler
Inner Class :protected class RepeaterHandler extends NestedHandler
Inner Class :protected class RepeaterRowsHandler extends BufferHandler
Inner Class :protected class RepeaterWidgetHandler extends BufferHandler
Inner Class :protected class GroupHandler extends NestedHandler
Inner Class :protected class AggregateWidgetHandler extends GroupHandler
Inner Class :protected class ChooseHandler extends CopyHandler
Inner Class :protected class ChoosePassThruHandler extends CopyHandler
Inner Class :protected class StructHandler extends GroupHandler
Inner Class :protected class UnionHandler extends GroupHandler
Inner Class :protected class UnionPassThruHandler extends CopyHandler
Inner Class :protected class NewHandler extends CopyHandler
Inner Class :protected class ClassHandler extends BufferHandler
Inner Class :protected class ContinuationIdHandler extends ErrorHandler
Inner Class :protected class StylingContentHandler extends AbstractXMLPipe
Inner Class :protected class ValidationErrorHandler extends NullHandler

Field Summary
protected  LinkedListchooseWidgets
    
protected  Mapclasses
    
protected  WidgetcontextWidget
    
protected  LinkedListcontextWidgets
    
final protected  ChoosePassThruHandlerhChoosePassThru
    
final protected  FormHandlerhForm
    
final protected  NestedHandlerhNested
    
final protected  SkipHandlerhSkip
    
final protected  StylingContentHandlerhStyling
    
final protected  UnionPassThruHandlerhUnionPassThru
    
protected  booleanhasInstanceNamespace
     True if instance namespace has been mapped to the 'fi' prefix.
protected  FormsPipelineConfigpipeContext
    
final protected  Maptemplates
    
protected  Widgetwidget
    

Constructor Summary
public  EffectWidgetReplacingPipe()
    

Method Summary
public  voidendPrefixMapping(String prefix)
     Process the SAX event.
protected  StringgetAttributeValue(String loc, Attributes attrs, String name)
    
protected  ContentHandlergetContentHandler()
     Needed to get things working with JDK 1.3.
protected  LexicalHandlergetLexicalHandler()
     Needed to get things working with JDK 1.3.
protected  StringgetRequiredAttributeValue(String loc, Attributes attrs, String name)
    
protected  booleanhasPrefixMapping(String uri, String prefix)
    
public  voidinit(Widget contextWidget, FormsPipelineConfig pipeContext)
    
protected  booleanisVisible(Widget widget)
    
public  voidrecycle()
    
protected  voidsetTypedWidget(String loc, Attributes attrs, Class wclass, String wname)
    
protected  voidsetWidget(String loc, Attributes attrs)
    
protected  voidsetWidget(String loc, String path)
    
public  voidstartPrefixMapping(String prefix, String uri)
     Process the SAX event.

Field Detail
chooseWidgets
protected LinkedList chooseWidgets(Code)



classes
protected Map classes(Code)



contextWidget
protected Widget contextWidget(Code)



contextWidgets
protected LinkedList contextWidgets(Code)



hChoosePassThru
final protected ChoosePassThruHandler hChoosePassThru(Code)



hForm
final protected FormHandler hForm(Code)



hNested
final protected NestedHandler hNested(Code)



hSkip
final protected SkipHandler hSkip(Code)



hStyling
final protected StylingContentHandler hStyling(Code)



hUnionPassThru
final protected UnionPassThruHandler hUnionPassThru(Code)



hasInstanceNamespace
protected boolean hasInstanceNamespace(Code)
True if instance namespace has been mapped to the 'fi' prefix.



pipeContext
protected FormsPipelineConfig pipeContext(Code)



templates
final protected Map templates(Code)
Map containing all handlers



widget
protected Widget widget(Code)




Constructor Detail
EffectWidgetReplacingPipe
public EffectWidgetReplacingPipe()(Code)




Method Detail
endPrefixMapping
public void endPrefixMapping(String prefix) throws SAXException(Code)
Process the SAX event.
See Also:   org.xml.sax.ContentHandler.endPrefixMapping



getAttributeValue
protected String getAttributeValue(String loc, Attributes attrs, String name) throws SAXException(Code)
Get value of the required attribute



getContentHandler
protected ContentHandler getContentHandler()(Code)
Needed to get things working with JDK 1.3. Can be removed once we don't support that platform any more.



getLexicalHandler
protected LexicalHandler getLexicalHandler()(Code)
Needed to get things working with JDK 1.3. Can be removed once we don't support that platform any more.



getRequiredAttributeValue
protected String getRequiredAttributeValue(String loc, Attributes attrs, String name) throws SAXException(Code)
Get non-empty value of the required attribute



hasPrefixMapping
protected boolean hasPrefixMapping(String uri, String prefix)(Code)
True if prefix is already mapped into the namespace



init
public void init(Widget contextWidget, FormsPipelineConfig pipeContext)(Code)



isVisible
protected boolean isVisible(Widget widget)(Code)



recycle
public void recycle()(Code)



setTypedWidget
protected void setTypedWidget(String loc, Attributes attrs, Class wclass, String wname) throws SAXException(Code)
Set typed widget by the id attribute



setWidget
protected void setWidget(String loc, Attributes attrs) throws SAXException(Code)
Set the widget by the id attribute



setWidget
protected void setWidget(String loc, String path) throws SAXException(Code)
Set the widget by its path



startPrefixMapping
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)
Process the SAX event.
See Also:   org.xml.sax.ContentHandler.startPrefixMapping



Fields inherited from org.apache.cocoon.forms.transformation.EffectPipe
protected SaxBuffer buffer(Code)(Java Doc)
final protected Handler hBuffer(Code)(Java Doc)
final protected Handler hNull(Code)(Java Doc)
protected Locator locator(Code)(Java Doc)

Methods inherited from org.apache.cocoon.forms.transformation.EffectPipe
protected void beginBuffer()(Code)(Java Doc)
public void characters(char ch, int start, int len) throws SAXException(Code)(Java Doc)
public void comment(char ch, int start, int len) throws SAXException(Code)(Java Doc)
protected SaxBuffer endBuffer()(Code)(Java Doc)
public void endCDATA() throws SAXException(Code)(Java Doc)
public void endDTD() throws SAXException(Code)(Java Doc)
public void endDocument() throws SAXException(Code)(Java Doc)
public void endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc)
public void endEntity(String name) throws SAXException(Code)(Java Doc)
public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc)
protected String getLocation()(Code)(Java Doc)
public void ignorableWhitespace(char ch, int start, int len) throws SAXException(Code)(Java Doc)
protected void init(Handler top)(Code)(Java Doc)
protected void popHandler()(Code)(Java Doc)
public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc)
protected void pushHandler(Handler handler)(Code)(Java Doc)
public void recycle()(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
public void skippedEntity(String name) throws SAXException(Code)(Java Doc)
public void startCDATA() throws SAXException(Code)(Java Doc)
public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String loc, String raw, Attributes attrs) throws SAXException(Code)(Java Doc)
public void startEntity(String name) throws SAXException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)

Methods inherited from org.apache.cocoon.xml.AbstractXMLPipe
public void characters(char c, int start, int len) throws SAXException(Code)(Java Doc)
public void comment(char ch, int start, int len) throws SAXException(Code)(Java Doc)
public void endCDATA() throws SAXException(Code)(Java Doc)
public void endDTD() throws SAXException(Code)(Java Doc)
public void endDocument() throws SAXException(Code)(Java Doc)
public void endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc)
public void endEntity(String name) throws SAXException(Code)(Java Doc)
public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc)
public void ignorableWhitespace(char c, int start, int len) throws SAXException(Code)(Java Doc)
public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
public void skippedEntity(String name) throws SAXException(Code)(Java Doc)
public void startCDATA() throws SAXException(Code)(Java Doc)
public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc)
public void startEntity(String name) throws SAXException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri) throws SAXException(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.