| 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 ValidationErrorHandler extends NullHandler | |
Method Summary | |
public void | endPrefixMapping(String prefix) Process the SAX event. | protected String | getAttributeValue(String loc, Attributes attrs, String name) | protected ContentHandler | getContentHandler() Needed to get things working with JDK 1.3. | protected LexicalHandler | getLexicalHandler() Needed to get things working with JDK 1.3. | protected String | getRequiredAttributeValue(String loc, Attributes attrs, String name) | protected boolean | hasPrefixMapping(String uri, String prefix) | public void | init(Widget contextWidget, FormsPipelineConfig pipeContext) | protected boolean | isVisible(Widget widget) | public void | recycle() | protected void | setTypedWidget(String loc, Attributes attrs, Class wclass, String wname) | protected void | setWidget(String loc, Attributes attrs) | protected void | setWidget(String loc, String path) | public void | startPrefixMapping(String prefix, String uri) Process the SAX event. |
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.
|
templates | final protected Map templates(Code) | | Map containing all handlers
|
EffectWidgetReplacingPipe | public EffectWidgetReplacingPipe()(Code) | | |
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.
|
hasPrefixMapping | protected boolean hasPrefixMapping(String uri, String prefix)(Code) | | True if prefix is already mapped into the namespace |
recycle | public void recycle()(Code) | | |
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)
|
|
|