Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.KDDQuery Class Reference

Inheritance diagram for kddml.Core.KDDQuery:

kddml.Core.KDDMLObject kddml.Core.HTMLTranslator List of all members.

Public Member Functions

 KDDQuery (java.io.File physical_path) throws KDDMLCoreException
 KDDQuery (String destination, Document query)
KDDMLObjectType getType ()
boolean isEmpty ()
void saveToRepository () throws KDDMLCoreException
String toString ()
void saveHTML () throws KDDMLCoreException
Document getDocumentRoot ()

Detailed Description

This class represents a generic KDD query.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Constructor & Destructor Documentation

kddml.Core.KDDQuery.KDDQuery java.io.File  physical_path  )  throws KDDMLCoreException
 

Constructor used for an existent query.

Parameters:
physical_path File the query path.
Exceptions:
FileNotFoundException if the query do not exist.
KDDMLCoreException 

kddml.Core.KDDQuery.KDDQuery String  destination,
Document  query
 

Constructor given the XML document.

Parameters:
destination String the destination path of the query.
query Document


Member Function Documentation

KDDMLObjectType kddml.Core.KDDQuery.getType  )  [virtual]
 

Returns the type of the object.

Returns:
KDDMLObjectType KDD_QUERY

Implements kddml.Core.KDDMLObject.

boolean kddml.Core.KDDQuery.isEmpty  )  [virtual]
 

Tests if the object is empty.

Returns:
boolean false.

Implements kddml.Core.KDDMLObject.

void kddml.Core.KDDQuery.saveToRepository  )  throws KDDMLCoreException [virtual]
 

Saves the object into the system repository. The destination path is provided by the object_path variable. Throws an exception if a I/O error occurs.

Exceptions:
KDDMLCoreException 

Implements kddml.Core.KDDMLObject.

String kddml.Core.KDDQuery.toString  ) 
 

Returns a representation of the query as string.

Returns:
String

void kddml.Core.KDDQuery.saveHTML  )  throws KDDMLCoreException [virtual]
 

Save the object in the system repository as HTML document.

Exceptions:
KDDMLCoreException 

Implements kddml.Core.HTMLTranslator.

Document kddml.Core.KDDQuery.getDocumentRoot  ) 
 

Returns the XML document root.

Returns:
Document


Generated on Thu Feb 23 13:04:37 2006 for kddml by  doxygen 1.4.3