org.util.xml.parse
Class SpaceParser

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

public class SpaceParser
extends ParseElement

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

Author:
masaru

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

Constructor Detail

SpaceParser

public SpaceParser()
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