org.qriterium.dogma
Class ResourceFactory

java.lang.Object
  extended by org.qriterium.dogma.ResourceFactory

public class ResourceFactory
extends java.lang.Object

Author:
bjorkgre

Constructor Summary
ResourceFactory(java.sql.ResultSet results)
           
ResourceFactory(java.sql.ResultSet results, java.lang.String queryType)
           
 
Method Summary
 DogmaConnection getNextConnection()
           
 DogmaResource getNextResource()
           
 java.lang.String getNextTag()
           
 DogmaURI getNextUri()
           
 boolean hasConnections()
           
 boolean hasResources()
           
 boolean hasTags()
           
 boolean hasUris()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactory

public ResourceFactory(java.sql.ResultSet results,
                       java.lang.String queryType)

ResourceFactory

public ResourceFactory(java.sql.ResultSet results)
Method Detail

hasResources

public boolean hasResources()

hasConnections

public boolean hasConnections()

hasUris

public boolean hasUris()

hasTags

public boolean hasTags()

getNextResource

public DogmaResource getNextResource()
                              throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

getNextConnection

public DogmaConnection getNextConnection()
                                  throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

getNextUri

public DogmaURI getNextUri()
                    throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

getNextTag

public java.lang.String getNextTag()
                            throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException