edu.uci.ics.jung.io.graphml.parser
Class UnknownElementParser

java.lang.Object
  extended by edu.uci.ics.jung.io.graphml.parser.UnknownElementParser
All Implemented Interfaces:
ElementParser

public class UnknownElementParser
extends Object
implements ElementParser

Skips an entire unknown subtree of the XML

Author:
Nathan Mittler - nathan.mittler@gmail.com

Constructor Summary
UnknownElementParser()
           
 
Method Summary
 Object parse(XMLEventReader xmlEventReader, StartElement start)
          Skips an entire subtree starting with the provided unknown element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownElementParser

public UnknownElementParser()
Method Detail

parse

public Object parse(XMLEventReader xmlEventReader,
                    StartElement start)
             throws GraphIOException
Skips an entire subtree starting with the provided unknown element.

Specified by:
parse in interface ElementParser
Parameters:
xmlEventReader - the event reader
start - the unknown element to be skipped.
Returns:
null
Throws:
GraphIOException


Copyright © 2009. All Rights Reserved.