it.unipd.dei.ims.nestor.experiment.parser
Class ArrayBasedNestorCompleteDataStructuresBuilder

java.lang.Object
  extended by it.unipd.dei.ims.nestor.experiment.parser.ArrayBasedNestorCompleteDataStructuresBuilder

public class ArrayBasedNestorCompleteDataStructuresBuilder
extends java.lang.Object

This class builds the DDS or the IDS or the HDS data structures. It allows us to create complete data structure comprehensive of elements, content, attributes and tags of the XML starting files.

Since:
0.1
Version:
0.3
Author:
Gianmaria Silvello

Constructor Summary
ArrayBasedNestorCompleteDataStructuresBuilder()
           
 
Method Summary
 ArrayBasedNestorCompleteInvertedTables DDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 ArrayBasedNestorCompleteInvertedTables HDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 ArrayBasedNestorCompleteInvertedTables IDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 ArrayBasedNestorCompleteInvertedTables WstxDDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 ArrayBasedNestorCompleteInvertedTables WstxHDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 ArrayBasedNestorCompleteInvertedTables WstxIDSInvertedCompleteStructureInit(java.io.File file)
          This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayBasedNestorCompleteDataStructuresBuilder

public ArrayBasedNestorCompleteDataStructuresBuilder()
Method Detail

DDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables DDSInvertedCompleteStructureInit(java.io.File file)
                                                                        throws java.io.FileNotFoundException,
                                                                               javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XML file containing the dataset.
Returns:
The DDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.

WstxDDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables WstxDDSInvertedCompleteStructureInit(java.io.File file)
                                                                            throws java.io.FileNotFoundException,
                                                                                   javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XML file containing the dataset.
Returns:
The DDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.

WstxIDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables WstxIDSInvertedCompleteStructureInit(java.io.File file)
                                                                            throws java.io.FileNotFoundException,
                                                                                   javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XML file containing the dataset.
Returns:
The IDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.

WstxHDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables WstxHDSInvertedCompleteStructureInit(java.io.File file)
                                                                            throws java.io.FileNotFoundException,
                                                                                   javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XML file containing the dataset.
Returns:
The HDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.

IDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables IDSInvertedCompleteStructureInit(java.io.File file)
                                                                        throws java.io.FileNotFoundException,
                                                                               javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XML file containing the dataset.
Returns:
The IDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.

HDSInvertedCompleteStructureInit

public ArrayBasedNestorCompleteInvertedTables HDSInvertedCompleteStructureInit(java.io.File file)
                                                                        throws java.io.FileNotFoundException,
                                                                               javax.xml.stream.XMLStreamException
This class sets the file which contains the XML file we are going to parse and from which we create the collections of subsets (sets and elements).

Parameters:
file - The XMl file containing the dataset.
Returns:
The HDS dictionary-based data structure.
Throws:
java.io.FileNotFoundException - The file is not found.
javax.xml.stream.XMLStreamException - The XML stream generated an exception.