net.ontopia.persistence.proxy
Class QueryDeclarations

java.lang.Object
  extended by net.ontopia.persistence.proxy.QueryDeclarations

public class QueryDeclarations
extends java.lang.Object

INTERNAL: Class that is able to read named query definitions from an XML representation.


Field Summary
protected  java.util.Map indicators
           
protected  java.util.Map queries
           
 
Constructor Summary
QueryDeclarations(java.io.InputStream istream)
           
 
Method Summary
 void addIndicator(java.lang.String name, java.util.Map indicator)
          INTERNAL: Adds the class indicator map by name.
 void addQuery(QueryDescriptor qdesc)
          INTERNAL: Adds the query descriptor.
 java.util.Map getIndicator(java.lang.String name)
          INTERNAL: Looks up the class indicator map by name.
 QueryDescriptor getQueryDescriptor(java.lang.String name)
          INTERNAL: Gets the query descriptor by name.
protected  void loadQueries(org.xml.sax.InputSource isource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queries

protected java.util.Map queries

indicators

protected java.util.Map indicators
Constructor Detail

QueryDeclarations

public QueryDeclarations(java.io.InputStream istream)
Method Detail

getQueryDescriptor

public QueryDescriptor getQueryDescriptor(java.lang.String name)
INTERNAL: Gets the query descriptor by name.


addQuery

public void addQuery(QueryDescriptor qdesc)
INTERNAL: Adds the query descriptor.


getIndicator

public java.util.Map getIndicator(java.lang.String name)
INTERNAL: Looks up the class indicator map by name.


addIndicator

public void addIndicator(java.lang.String name,
                         java.util.Map indicator)
INTERNAL: Adds the class indicator map by name. The indicator map is keyed by strings and has Class object values.


loadQueries

protected void loadQueries(org.xml.sax.InputSource isource)


Copyright © 2000-2012 Ontopia.