org.polliwog.handlers
Class HandlerUtils

java.lang.Object
  extended by org.polliwog.handlers.HandlerUtils

public class HandlerUtils
extends java.lang.Object


Nested Class Summary
 class HandlerUtils.XMLConstants
           
 
Constructor Summary
HandlerUtils()
           
 
Method Summary
static java.util.List getColumns(org.jdom.Element root, java.lang.Class cl, VisitorEnvironment ve)
           
static java.util.Map getParameters(org.jdom.Element root)
           
static JoSQLQuery getQuery(org.jdom.Element root, java.lang.Class cl)
           
static java.util.Map getQueryVars(org.jdom.Element root)
           
static java.util.List getReplacements(org.jdom.Element root, java.lang.Class cl)
           
static boolean hasQuery(org.jdom.Element root)
           
static boolean hasReplacements(org.jdom.Element root)
           
static java.lang.String performReplacements(java.lang.Object d, java.util.List reps, java.lang.String t, VisitorEnvironment ve, java.lang.String defOnNull)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerUtils

public HandlerUtils()
Method Detail

getQueryVars

public static java.util.Map getQueryVars(org.jdom.Element root)
                                  throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

hasQuery

public static boolean hasQuery(org.jdom.Element root)
                        throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

getQuery

public static JoSQLQuery getQuery(org.jdom.Element root,
                                  java.lang.Class cl)
                           throws org.jdom.JDOMException,
                                  WeblogException
Throws:
org.jdom.JDOMException
WeblogException

performReplacements

public static java.lang.String performReplacements(java.lang.Object d,
                                                   java.util.List reps,
                                                   java.lang.String t,
                                                   VisitorEnvironment ve,
                                                   java.lang.String defOnNull)
                                            throws WeblogException
Throws:
WeblogException

getParameters

public static java.util.Map getParameters(org.jdom.Element root)
                                   throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

getReplacements

public static java.util.List getReplacements(org.jdom.Element root,
                                             java.lang.Class cl)
                                      throws org.jdom.JDOMException,
                                             WeblogException
Throws:
org.jdom.JDOMException
WeblogException

hasReplacements

public static boolean hasReplacements(org.jdom.Element root)
                               throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException

getColumns

public static java.util.List getColumns(org.jdom.Element root,
                                        java.lang.Class cl,
                                        VisitorEnvironment ve)
                                 throws org.jdom.JDOMException,
                                        WeblogException
Throws:
org.jdom.JDOMException
WeblogException


  Copyright © 2007 Gary Bentley. All Rights Reserved.