|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.text.SplittingNamer
public class SplittingNamer
A transform that generates a String name for an object by first generating a group name, then then looking up another transform in a Map, then running that. It can of course be nested further. A default is provided if all else fails.
| Constructor Summary | |
|---|---|
SplittingNamer()
Create a new SplittingNamer. |
|
| Method Summary | |
|---|---|
ObjectNamer |
getDefaultNamer()
Gets the value of defaultNamer |
java.util.Map |
getGroupNamers()
Gets the value of groupNamers |
java.lang.String |
getGroupNameTemplate()
Gets the value of groupNameTemplate |
java.util.Set |
getRequiredPaths()
|
void |
setDefaultNamer(ObjectNamer argDefaultNamer)
Sets the value of defaultNamer |
void |
setGroupNamers(java.util.Map argGroupNamers)
Sets the value of groupNamers |
void |
setGroupNameTemplate(java.lang.String argGroupNameTemplate)
Sets the value of groupNameTemplate |
java.lang.Object |
transform(java.lang.Object source)
Our one method; this transforms one object into another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplittingNamer()
| Method Detail |
|---|
public java.lang.Object transform(java.lang.Object source)
ObjectTransform
transform in interface ObjectTransformpublic java.util.Set getRequiredPaths()
getRequiredPaths in interface ObjectNamerpublic java.lang.String getGroupNameTemplate()
public void setGroupNameTemplate(java.lang.String argGroupNameTemplate)
argGroupNameTemplate - Value to assign to this.groupNameTemplatepublic java.util.Map getGroupNamers()
public void setGroupNamers(java.util.Map argGroupNamers)
argGroupNamers - Value to assign to this.groupNamerspublic ObjectNamer getDefaultNamer()
public void setDefaultNamer(ObjectNamer argDefaultNamer)
argDefaultNamer - Value to assign to this.defaultNamer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||