org.fife.ui.rsyntaxtextarea
Class XMLParser

java.lang.Object
  extended by org.fife.ui.rsyntaxtextarea.XMLParser
All Implemented Interfaces:
Parser

public class XMLParser
extends Object
implements Parser

A parser for XML documents.

Version:
1.0
Author:
Robert Futrell

Constructor Summary
XMLParser(RSyntaxTextArea textArea)
           
 
Method Summary
 Iterator getNoticeIterator()
          Returns an iterator over the ParserNotices received from this parser during the call to Parser.parse(java.io.Reader).
 void parse(Reader r)
          Parses input from the specified Reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParser

public XMLParser(RSyntaxTextArea textArea)
Method Detail

getNoticeIterator

public Iterator getNoticeIterator()
Description copied from interface: Parser
Returns an iterator over the ParserNotices received from this parser during the call to Parser.parse(java.io.Reader).

Specified by:
getNoticeIterator in interface Parser
Returns:
An iterator over the ParserNotices.
See Also:
ParserNotice, Parser.parse(Reader r)

parse

public void parse(Reader r)
Description copied from interface: Parser
Parses input from the specified Reader.

Specified by:
parse in interface Parser
Parameters:
r - The input stream from which to parse.
See Also:
Parser.getNoticeIterator()


Copyright © 2009-2011 jtstand.com. All Rights Reserved.