Class QueryDeclarations

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

public class QueryDeclarations extends Object
INTERNAL: Class that is able to read named query definitions from an XML representation.
  • Field Details

  • Constructor Details

    • QueryDeclarations

      public QueryDeclarations(InputStream istream)
  • Method Details

    • getQueryDescriptor

      public QueryDescriptor getQueryDescriptor(String name)
      INTERNAL: Gets the query descriptor by name.
    • addQuery

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

      public Map<String,Class<?>> getIndicator(String name)
      INTERNAL: Looks up the class indicator map by name.
    • addIndicator

      public void addIndicator(String name, Map<String,Class<?>> 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(InputSource isource)
    • loadQueries

      public void loadQueries(InputStream stream)