UTF-X, Unit Testing Framework - Xslt

utfx.framework
Class DefaultSourceParser

java.lang.Object
  extended by utfx.framework.DefaultSourceParser
All Implemented Interfaces:
SourceParser

public class DefaultSourceParser
extends java.lang.Object
implements SourceParser

Default implementation of the SourceParser interface. This implementation uses a SAX parser.

Copyright © 2004 - University of Southern Queensland.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

$Source: /cvs/utf-x/framework/src/java/utfx/framework/DefaultSourceParser.java,v $

Version:
$Revision: 1.2 $ $Date: 2006/08/01 07:39:30 $ $Name: release_0_0_8_alpha $
Author:
Jacek Radajewski

Constructor Summary
DefaultSourceParser()
          create a new DefaultSourceParser
 
Method Summary
 javax.xml.transform.Source getSource(java.io.InputStream inStream)
          Creates a transformer.Source from an input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSourceParser

public DefaultSourceParser()
create a new DefaultSourceParser

Method Detail

getSource

public javax.xml.transform.Source getSource(java.io.InputStream inStream)
                                     throws java.lang.Exception
Description copied from interface: SourceParser
Creates a transformer.Source from an input stream.

Specified by:
getSource in interface SourceParser
Parameters:
inStream - InputStream with the content of the <source> element.
Returns:
transformer.Source
Throws:
java.lang.Exception
See Also:
SourceParser.getSource(java.io.InputStream)

UTF-X, Unit Testing Framework - Xslt