electric.xml
Class NodeReader
java.lang.Object
electric.xml.NodeReader
- Direct Known Subclasses:
- SubstituteReader
- public class NodeReader
- extends java.lang.Object
NodeReader.
- Author:
- webMethods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected java.io.Reader reader
lex
protected Lex lex
strip
protected boolean strip
lastWhitespace
protected java.lang.StringBuffer lastWhitespace
NodeReader
public NodeReader(java.io.Reader reader)
- Parameters:
reader
-
NodeReader
public NodeReader(java.io.Reader reader,
int flags)
- Parameters:
reader
- flags
-
setReader
public void setReader(java.io.Reader reader)
- Parameters:
reader
-
getReader
public java.io.Reader getReader()
getLocation
public java.lang.String getLocation()
isStrip
public boolean isStrip()
parse
public void parse(Node node)
throws ParseException
- Parameters:
node
-
- Throws:
ParseException
read
public void read(Node node)
throws java.io.IOException,
NamespaceException
- Parameters:
node
-
- Throws:
java.io.IOException
NamespaceException
read
public final int read()
throws java.io.IOException
- Throws:
java.io.IOException
readWhitespace
public final java.lang.StringBuffer readWhitespace()
throws java.io.IOException
- Throws:
java.io.IOException
getLastWhitespace
public final java.lang.StringBuffer getLastWhitespace()
skipWhitespace
public final void skipWhitespace()
throws java.io.IOException
- Throws:
java.io.IOException
mark
public final void mark(int amount)
throws java.io.IOException
- Parameters:
amount
-
- Throws:
java.io.IOException
peekRead
public final int peekRead()
throws java.io.IOException
- Throws:
java.io.IOException
reset
public final void reset()
throws java.io.IOException
- Throws:
java.io.IOException
peekString
public final boolean peekString(java.lang.String string)
throws java.io.IOException
- Parameters:
string
-
- Throws:
java.io.IOException
skip
public final void skip(int amount)
throws java.io.IOException
- Parameters:
amount
-
- Throws:
java.io.IOException
readToPattern
public final java.lang.String readToPattern(java.lang.String pattern,
int flags)
throws java.io.IOException
- Parameters:
pattern
- flags
-
- Throws:
java.io.IOException
readToken
public final void readToken(java.lang.String string)
throws java.io.IOException
- Parameters:
string
-
- Throws:
java.io.IOException
readToDelimiter
public final java.lang.String readToDelimiter(java.lang.String string)
throws java.io.IOException
- Parameters:
string
-
- Throws:
java.io.IOException
readToDelimiter
public final java.lang.String readToDelimiter(java.lang.String string,
int flags)
throws java.io.IOException
- Parameters:
string
- flags
-
- Throws:
java.io.IOException
readToken
public final java.lang.String readToken()
throws java.io.IOException
- Throws:
java.io.IOException
readChar
public final void readChar(int ch)
throws java.io.IOException
- Parameters:
ch
-
- Throws:
java.io.IOException
peek
public final int peek()
throws java.io.IOException
- Throws:
java.io.IOException
peek
public final void peek(int[] buffer)
throws java.io.IOException
- Parameters:
buffer
-
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
copyright© 2001-2004 by webMethods All Rights Reserved.