jInfer

cz.cuni.mff.ksi.jinfer.xsdimporter
Class XSDProcessor

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.xsdimporter.XSDProcessor
All Implemented Interfaces:
Processor<Element>

public class XSDProcessor
extends Object
implements Processor<Element>

Class providing logic for IG retrieval from XSD schemas. Implementation of Processor


Constructor Summary
XSDProcessor()
           
 
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 stream)
          Returns the List of type defined for this processor which represents the input.
 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

XSDProcessor

public XSDProcessor()
Method Detail

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.

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.

process

public List<Element> process(InputStream stream)
                      throws InterruptedException
Description copied from interface: Processor
Returns the List of type defined for this processor which represents the input.

Specified by:
process in interface Processor<Element>
Parameters:
stream - Input of any arbitrary type.
Returns:
Rules contained within. Empty list if there are no rules or an error occurs.
Throws:
InterruptedException - When user interrupts the processing operation at any moment.

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.

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