org.specrunner.source.text
Class SourceFactoryText

java.lang.Object
  extended by org.specrunner.source.core.EncodedImpl
      extended by org.specrunner.source.core.AbstractSourceFactory
          extended by org.specrunner.source.text.SourceFactoryText
All Implemented Interfaces:
Serializable, IEncoded, ISourceFactory, IResetable

public class SourceFactoryText
extends AbstractSourceFactory

Default implementation of text|feature reader.

Author:
Thiago Santos
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.specrunner.source.core.AbstractSourceFactory
cache, namespace
 
Fields inherited from interface org.specrunner.source.IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING
 
Constructor Summary
SourceFactoryText()
           
 
Method Summary
protected  nu.xom.Document fromTarget(URI uri, String target, String encoding)
           
 
Methods inherited from class org.specrunner.source.core.AbstractSourceFactory
addDoctype, cleanTarget, initialize, isFile, newSource
 
Methods inherited from class org.specrunner.source.core.EncodedImpl
getEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.source.IEncoded
getEncoding
 

Constructor Detail

SourceFactoryText

public SourceFactoryText()
Method Detail

fromTarget

protected nu.xom.Document fromTarget(URI uri,
                                     String target,
                                     String encoding)
                              throws SourceException
Specified by:
fromTarget in class AbstractSourceFactory
Throws:
SourceException


Copyright © 2015. All rights reserved.