JTools

org.jtools.dao.xml.sax
Class RepositoryDAOSaxLoader<T_Result>

java.lang.Object
  extended by org.jtools.dao.AbstractDAOLoader<ResultType,ContextType>
      extended by org.jtools.dao.xml.AbstractDAOXmlLoader<T_Result,T_Result>
          extended by org.jtools.dao.xml.sax.SimpleDAOSaxLoader<T_Result>
              extended by org.jtools.dao.xml.sax.RepositoryDAOSaxLoader<T_Result>
All Implemented Interfaces:
DAOLoader<T_Result,T_Result>, DAOSaxLoader<T_Result,T_Result>

public class RepositoryDAOSaxLoader<T_Result>
extends SimpleDAOSaxLoader<T_Result>

Author:
Rainer To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
protected  PublisherConfig publisherConfig
           
 
Constructor Summary
RepositoryDAOSaxLoader(PublisherConfig publisherConfig)
           
RepositoryDAOSaxLoader(PublisherConfig publisherConfig, DAOSaxDescriptor<T_Result> elementDescriptor)
           
 
Method Summary
 T_Result load(T_Result context, RepositoryElement elementDescriptor, URL url, PropertySupport props)
           
 T_Result load(T_Result context, URL url, PropertySupport props)
           
protected  RepositoryElement loadRepositoryInfo(URL url, PropertySupport props)
           
protected  void processEntry(T_Result parent, RepositoryEntry entry, URL parentUrl, PropertySupport props)
           
protected  void processFile(T_Result parent, RepositoryEntry entry, URL url, PropertySupport props)
           
 
Methods inherited from class org.jtools.dao.xml.sax.SimpleDAOSaxLoader
getDescriptor, load
 
Methods inherited from class org.jtools.dao.xml.AbstractDAOXmlLoader
getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publisherConfig

protected final PublisherConfig publisherConfig
Constructor Detail

RepositoryDAOSaxLoader

public RepositoryDAOSaxLoader(PublisherConfig publisherConfig)

RepositoryDAOSaxLoader

public RepositoryDAOSaxLoader(PublisherConfig publisherConfig,
                              DAOSaxDescriptor<T_Result> elementDescriptor)
Parameters:
elementDescriptor -
Method Detail

load

public T_Result load(T_Result context,
                     RepositoryElement elementDescriptor,
                     URL url,
                     PropertySupport props)
              throws Exception
Throws:
Exception

load

public T_Result load(T_Result context,
                     URL url,
                     PropertySupport props)
              throws Exception
Specified by:
load in interface DAOSaxLoader<T_Result,T_Result>
Overrides:
load in class SimpleDAOSaxLoader<T_Result>
Throws:
Exception

loadRepositoryInfo

protected RepositoryElement loadRepositoryInfo(URL url,
                                               PropertySupport props)

processEntry

protected void processEntry(T_Result parent,
                            RepositoryEntry entry,
                            URL parentUrl,
                            PropertySupport props)
                     throws Exception
Throws:
Exception

processFile

protected void processFile(T_Result parent,
                           RepositoryEntry entry,
                           URL url,
                           PropertySupport props)
                    throws Exception
Throws:
Exception

JTools

© 2000-2006, JTools.org.