org.kxml.parser
Class PIDataParser

java.lang.Object
  extended byorg.kxml.parser.AbstractXmlParser
      extended byorg.kxml.parser.XmlParser
          extended byorg.kxml.parser.PIDataParser

public class PIDataParser
extends org.kxml.parser.XmlParser

this class is useful to get the target name and the attributes from a PI data

it inherits of the XMLParser parsing methods

this class is in the package org.kxml.parser since XmlParser are package-protected


Field Summary
protected  Map attributes
           
protected  String target
           
 
Fields inherited from class org.kxml.parser.XmlParser
next
 
Fields inherited from class org.kxml.parser.AbstractXmlParser
processNamespaces
 
Constructor Summary
PIDataParser(Reader reader)
           
PIDataParser(Reader reader, int bufSize)
           
 
Method Summary
 Map getAttributes()
           
 String getTarget()
           
 void parsePIData()
           
 void setColumnNumber(int column)
           
 void setLineNumber(int line)
           
 
Methods inherited from class org.kxml.parser.XmlParser
getColumnNumber, getLineNumber, peek, read, readName, readTo, resolveCharacterEntity, setRelaxed
 
Methods inherited from class org.kxml.parser.AbstractXmlParser
ignoreTree, peek, read, readText, readTree, setProcessNamespaces, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected Map attributes

target

protected String target
Constructor Detail

PIDataParser

public PIDataParser(Reader reader)
             throws IOException

PIDataParser

public PIDataParser(Reader reader,
                    int bufSize)
             throws IOException
Method Detail

getAttributes

public Map getAttributes()

getTarget

public String getTarget()

parsePIData

public void parsePIData()
                 throws IOException
Throws:
IOException

setColumnNumber

public void setColumnNumber(int column)

setLineNumber

public void setLineNumber(int line)