Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

org.bounce.text.xml
Class XMLScanner.Scanner

java.lang.Object
  extended by org.bounce.text.xml.XMLScanner.Scanner
Enclosing class:
XMLScanner

abstract class XMLScanner.Scanner
extends java.lang.Object

Abstract scanner class..


Constructor Summary
XMLScanner.Scanner()
           
 
Method Summary
protected  void finished()
          The scanner has finished scanning the information, only a reset can change this.
 boolean isFinished()
          returns whether this scanner has finished scanning all it was supposed to scan.
 void reset()
          Resets all the variables to the start value.
abstract  java.lang.String scan(DocumentInputReader in)
          Scan the input steam for a token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLScanner.Scanner

XMLScanner.Scanner()
Method Detail

scan

public abstract java.lang.String scan(DocumentInputReader in)
                               throws java.io.IOException
Scan the input steam for a token.

Parameters:
in - the input stream reader.
Returns:
the token.
Throws:
java.io.IOException

finished

protected void finished()
The scanner has finished scanning the information, only a reset can change this.


isFinished

public boolean isFinished()
returns whether this scanner has finished scanning all it was supposed to scan.

Returns:
true when the scanner is finished.

reset

public void reset()
Resets all the variables to the start value.


Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

Copyright 2002-2002-2010 Edwin Dankert. All Rights Reserved.