common-util

local.tomas.common.xml.impl
Class StreamParserImpl

java.lang.Object
  extended by local.tomas.common.xml.XMLStreamParser
      extended by local.tomas.common.xml.impl.StreamParserImpl

public class StreamParserImpl
extends XMLStreamParser

Stream parser implementation.

Author:
tomas

Constructor Summary
StreamParserImpl(Source source)
          Construct stream parser from javax.xml.transform.Source.
 
Method Summary
 Object parse()
          Parse XML stream and create object.
 
Methods inherited from class local.tomas.common.xml.XMLStreamParser
createInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamParserImpl

public StreamParserImpl(Source source)
Construct stream parser from javax.xml.transform.Source.

Parameters:
source - the source
Method Detail

parse

public Object parse()
             throws XMLException
Description copied from class: XMLStreamParser
Parse XML stream and create object.

Specified by:
parse in class XMLStreamParser
Returns:
the object
Throws:
XMLException

common-util

Copyright © 2007 null. All Rights Reserved.