public class MacroReader extends XmlReader
_filename, _is, _line, _next, _parser, _publicId, _searchPath, _systemId, isAsciiNameChar
Constructor and Description |
---|
MacroReader()
Create a new reader.
|
Modifier and Type | Method and Description |
---|---|
void |
add(char ch)
Adds a new character to the buffer.
|
void |
add(CharBuffer cb)
Adds a char buffer to the macro.
|
void |
add(java.lang.String s)
Adds a string to the macro.
|
java.lang.String |
getFilename()
Gets the filename.
|
int |
getLine()
Gets the current line number.
|
java.lang.String |
getPublicId()
Gets the publicId.
|
ReadStream |
getReadStream()
Returns the read stream.
|
java.lang.String |
getSystemId()
Gets the systemId.
|
void |
init(XmlParser parser,
XmlReader next) |
void |
prepend(char ch) |
int |
read()
Read the next character, returning -1 on end of file..
|
finish, getNext, getSearchPath, init, parseName, setFilename, setLine, setNext, setPublicId, setSearchPath, setSystemId
public ReadStream getReadStream()
XmlReader
getReadStream
in class XmlReader
public java.lang.String getSystemId()
XmlReader
getSystemId
in class XmlReader
public java.lang.String getPublicId()
XmlReader
getPublicId
in class XmlReader
public java.lang.String getFilename()
XmlReader
getFilename
in class XmlReader
public int getLine()
XmlReader
public void add(java.lang.String s)
public void add(CharBuffer cb)
public void add(char ch)
public void prepend(char ch)