org.util.xml.parse
Class TextElementParser

java.lang.Object
  extended by org.util.xml.parse.ParseElement
      extended by org.util.xml.parse.TextElementParser

public class TextElementParser
extends ParseElement

parse space. S ::= (#x20 | #x9 | #xD | #xA)+ W3C REC-xml-980210

Author:
masaru

Constructor Summary
TextElementParser()
           
 
Method Summary
 boolean allow(int c)
           
 java.lang.String getReturnValue()
           
 boolean match(char c)
           
 int parse(int c, ElementParser parser)
           
 
Methods inherited from class org.util.xml.parse.ParseElement
getDescription, isSpace, listDependentParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextElementParser

public TextElementParser()
Method Detail

match

public boolean match(char c)
Specified by:
match in class ParseElement

parse

public int parse(int c,
                 ElementParser parser)
          throws XMLParseException,
                 java.io.IOException
Specified by:
parse in class ParseElement
Throws:
XMLParseException
java.io.IOException

getReturnValue

public java.lang.String getReturnValue()
Overrides:
getReturnValue in class ParseElement

allow

public boolean allow(int c)