info.informatica.ui.html
Class HTMLFormLoader

java.lang.Object
  extended by info.informatica.doc.DocumentFragment
      extended by info.informatica.ui.html.HTMLForm
          extended by info.informatica.ui.html.HTMLFormLoader
All Implemented Interfaces:
info.informatica.html.HTMLEventHandler, Comparable<info.informatica.doc.DocumentFragment>
Direct Known Subclasses:
FormDefaultLoader

public abstract class HTMLFormLoader
extends HTMLForm

HTML form loader.

Event handler that processes an HTML form and loads it onto a buffer.

Author:
amengual at informatica dot info

Nested Class Summary
 
Nested classes/interfaces inherited from class info.informatica.doc.DocumentFragment
info.informatica.doc.DocumentFragment.FragmentComp, info.informatica.doc.DocumentFragment.NotFragmentComp
 
Method Summary
 void characters(char[] chardata, int start)
           
 void endElement(String name)
           
 void endXElement(info.informatica.html.tag.HTMLTag tag)
           
 StringBuffer getBuffer()
           
 void ignorableWhitespace(char[] ch, int start)
           
 int length()
           
 info.informatica.html.CharData toCharData()
           
 String toString()
           
 
Methods inherited from class info.informatica.ui.html.HTMLForm
defaultForm, endDocument, error, main, startDocument, startElement
 
Methods inherited from class info.informatica.doc.DocumentFragment
adjustWidth, compareTo, getCurrentPosition, getPosition, setPosition
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBuffer

public final StringBuffer getBuffer()

characters

public void characters(char[] chardata,
                       int start)
Specified by:
characters in interface info.informatica.html.HTMLEventHandler
Overrides:
characters in class HTMLForm

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start)
Specified by:
ignorableWhitespace in interface info.informatica.html.HTMLEventHandler
Overrides:
ignorableWhitespace in class HTMLForm

endXElement

public void endXElement(info.informatica.html.tag.HTMLTag tag)
                 throws info.informatica.html.HTMLParsingException
Specified by:
endXElement in interface info.informatica.html.HTMLEventHandler
Overrides:
endXElement in class HTMLForm
Throws:
info.informatica.html.HTMLParsingException

endElement

public void endElement(String name)
                throws info.informatica.html.HTMLParsingException
Specified by:
endElement in interface info.informatica.html.HTMLEventHandler
Overrides:
endElement in class HTMLForm
Throws:
info.informatica.html.HTMLParsingException

length

public int length()
Specified by:
length in class info.informatica.doc.DocumentFragment

toCharData

public info.informatica.html.CharData toCharData()

toString

public String toString()
Overrides:
toString in class Object