kiwi.text
Interface SGMLConsumer
- public abstract interface SGMLConsumer
An interface for consuming parsed SGML data. See SGMLParser
for more details.
- Version:
- 1.0 (05/98)
- Author:
- Mark Lindner, PING Software Group
- See Also:
SGMLParser
processElement
public boolean processElement(SGMLElement e)
- Process an SGML element. This method is called by the SGML parser for
each complete SGML element in the input.
- Parameters:
e
- the SGMLElement
to process.
processString
public void processString(String s)
- Process a string. This method is called by the SGML parser for each
maximally contiguous sequence of non-markup text in the input.
- Parameters:
s
- The string to process.- Returns:
- A flag specifying whether whitespace-sensitive mode should be
turned on. If the value true is returned, the parser treats all
subsequent whitespace literally. If false is returned, the parser
collapses contiguous sequences of whitespace into a single space (the
default mode). Whitespace in this context denotes spaces, tabs, newlines,
and formfeed characters.