net.sourceforge.jxa
Class XmlReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.InputStreamReader
          extended by net.sourceforge.jxa.XmlReader

public class XmlReader
extends java.io.InputStreamReader

XML-Reader

Since:
1.0

Field Summary
static int END_DOCUMENT
           
static int END_TAG
           
static int START_DOCUMENT
           
static int START_TAG
           
static int TEXT
           
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
XmlReader(java.io.InputStream in)
           
 
Method Summary
 java.lang.String getAttribute(java.lang.String name)
           
 java.util.Enumeration getAttributes()
           
 java.lang.String getName()
           
 java.lang.String getText()
           
 int getType()
           
 int next()
           
 
Methods inherited from class java.io.InputStreamReader
close, mark, markSupported, read, read, ready, reset, skip
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_DOCUMENT

public static final int START_DOCUMENT
See Also:
Constant Field Values

END_DOCUMENT

public static final int END_DOCUMENT
See Also:
Constant Field Values

START_TAG

public static final int START_TAG
See Also:
Constant Field Values

END_TAG

public static final int END_TAG
See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values
Constructor Detail

XmlReader

public XmlReader(java.io.InputStream in)
          throws java.io.IOException,
                 java.io.UnsupportedEncodingException
Throws:
java.io.IOException
java.io.UnsupportedEncodingException
Method Detail

next

public int next()
         throws java.io.IOException
Throws:
java.io.IOException

getType

public int getType()

getName

public java.lang.String getName()

getAttribute

public java.lang.String getAttribute(java.lang.String name)

getAttributes

public java.util.Enumeration getAttributes()

getText

public java.lang.String getText()