common-util

local.tomas.common.xml
Class XMLSourceReader

java.lang.Object
  extended by local.tomas.common.xml.XMLSourceReader
Direct Known Subclasses:
XMLSourceReaderImpl

public abstract class XMLSourceReader
extends Object

Use this class to retrieve XML from an arbitrary iterable source.

Author:
tomas

Constructor Summary
protected XMLSourceReader()
          Do not instantiate directly.
 
Method Summary
static XMLSourceReader createReader()
          Create an XML target store for an abstract target.
abstract  Source getSource(XMLSource source)
          Get XML transformation source to retrieve an XML structure from the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSourceReader

protected XMLSourceReader()
Do not instantiate directly.

Method Detail

createReader

public static XMLSourceReader createReader()
Create an XML target store for an abstract target.

Returns:
the store

getSource

public abstract Source getSource(XMLSource source)
                          throws XMLException
Get XML transformation source to retrieve an XML structure from the source.

Parameters:
source - - the source
Returns:
transformation source
Throws:
XMLException

common-util

Copyright © 2007 null. All Rights Reserved.