| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgnu.xml.pipeline.EventFilter
fi.karppinen.xml.FormActionInjector
public class FormActionInjector
Adds an action attribute to XHTML 1.x form elements.
 The form elements must not have an action attribute 
 to begin with.
| Field Summary | |
|---|---|
private  String | 
action
 | 
| Fields inherited from class gnu.xml.pipeline.EventFilter | 
|---|
DECL_HANDLER, FEATURE_URI, LEXICAL_HANDLER, PROPERTY_URI | 
| Constructor Summary | |
|---|---|
FormActionInjector(String action)
 | 
|
FormActionInjector(String action,
                                     gnu.xml.pipeline.EventConsumer consumer)
 | 
|
| Method Summary | |
|---|---|
 void | 
startElement(String uri,
                         String localName,
                         String qName,
                         Attributes atts)
 | 
| Methods inherited from class gnu.xml.pipeline.EventFilter | 
|---|
attributeDecl, bind, chainTo, characters, comment, elementDecl, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, externalEntityDecl, getContentHandler, getDocumentLocator, getDTDHandler, getErrorHandler, getNext, getProperty, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, setContentHandler, setDocumentLocator, setDTDHandler, setErrorHandler, setProperty, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private String action
| Constructor Detail | 
|---|
public FormActionInjector(String action)
public FormActionInjector(String action,
                          gnu.xml.pipeline.EventConsumer consumer)
consumer - | Method Detail | 
|---|
public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
startElement in interface ContentHandlerstartElement in class gnu.xml.pipeline.EventFilterSAXExceptionContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||