|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sail.core.util.PodUtils
public class PodUtils
Utility methods for working with beans (e.g. rims) in pods.
Constructor Summary | |
---|---|
PodUtils()
|
Method Summary | ||
---|---|---|
static
|
childrenOfType(Curnit assembledCurnit,
java.lang.Class<T> type)
|
|
static java.util.Collection<Rim> |
collectRimsInSamePod(java.lang.Object source)
Collect the rims that are in the same pod as the source bean |
|
static
|
createBeanInPod(Pod pod,
java.lang.Class<T> beanClass,
java.lang.String title)
Create a bean of type beanClass, give it the title title, and store it in pod pod |
|
static
|
createRimInPod(Pod pod,
java.lang.Class<T> shape,
java.lang.String rimName)
Helper method to create in the pod a rim of the given name and shape |
|
static Pod |
nextPod(java.lang.String pre,
java.lang.String middle)
Deprecated. |
|
static void |
printPodTree(java.io.PrintStream out,
int indent,
Pod pod)
|
|
static Pod |
resolvePod(java.lang.Object source)
Helper method to find the pod containing the source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PodUtils()
Method Detail |
---|
public static <T> java.util.Collection<T> childrenOfType(Curnit assembledCurnit, java.lang.Class<T> type)
T
- assembledCurnit
- type
-
public static <T extends ITitleAware> T createBeanInPod(Pod pod, java.lang.Class<T> beanClass, java.lang.String title) throws java.lang.InstantiationException, java.lang.IllegalAccessException
T
- pod
- pod to store the bean inbeanClass
- type of bean to createtitle
- title to give the bean
java.lang.InstantiationException
java.lang.IllegalAccessException
@Deprecated public static Pod nextPod(java.lang.String pre, java.lang.String middle)
pre
- middle
-
public static <T> Rim<T> createRimInPod(Pod pod, java.lang.Class<T> shape, java.lang.String rimName)
pod
- shape
- rimName
-
public static java.util.Collection<Rim> collectRimsInSamePod(java.lang.Object source)
source
- public static Pod resolvePod(java.lang.Object source)
source
-
public static void printPodTree(java.io.PrintStream out, int indent, Pod pod)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |