jInfer

cz.cuni.mff.ksi.jinfer.basicigg.dtd
Class DTDProcessor

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.basicigg.dtd.DTDProcessor
All Implemented Interfaces:
Processor<Element>

public class DTDProcessor
extends Object
implements Processor<Element>

Implementation of Processor providing logic for IG retrieval from DTD schemas.


Constructor Summary
DTDProcessor()
           
 
Method Summary
 String getExtension()
          Which extension can this processor process.
 FolderType getFolder()
          Which folder does this processor operate on.
 Class<?> getResultType()
          Get Class of the type this processor returns by process method within List.
 List<Element> process(InputStream s)
          Parses the DTD schema and returns the IG rules contained within.
 boolean processUndefined()
          Whether this processor can process also different extensions than that specified in Processor.getExtension().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDProcessor

public DTDProcessor()
Method Detail

getExtension

public String getExtension()
Description copied from interface: Processor
Which extension can this processor process.

Specified by:
getExtension in interface Processor<Element>
Returns:
File extension this processor can process.

processUndefined

public boolean processUndefined()
Description copied from interface: Processor
Whether this processor can process also different extensions than that specified in Processor.getExtension().

Specified by:
processUndefined in interface Processor<Element>
Returns:
True if this processor can process files with extensions different from what Processor.getExtension() reports. False otherwise.

getFolder

public FolderType getFolder()
Description copied from interface: Processor
Which folder does this processor operate on.

Specified by:
getFolder in interface Processor<Element>
Returns:
Folder on which this processor operates.

process

public List<Element> process(InputStream s)
Parses the DTD schema and returns the IG rules contained within.

Specified by:
process in interface Processor<Element>
Parameters:
s - DTD schema file.
Returns:
List of IG rules retrieved from it.

getResultType

public Class<?> getResultType()
Description copied from interface: Processor
Get Class of the type this processor returns by process method within List.

Specified by:
getResultType in interface Processor<Element>
Returns:
Class of the type this processor returns by process method within List.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011