|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.PackageSubstitution
Uses JDK 1.4 java.util.regex to perform package substitutions. For example:
foo.bar.ejb.MyBean from: ejb to: ejb.interfaces
Constructor Summary | |
PackageSubstitution()
|
Method Summary | |
String |
getSubstitutedPackageName(String packageName)
Gets the substituted package name. |
void |
setFrom(String from)
Sets the part of the package name to replace from. |
void |
setTo(String to)
The String to replace with. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PackageSubstitution()
Method Detail |
public void setFrom(String from)
from
- the part of the package name to replace frompublic void setTo(String to)
to
- the String to replace withpublic String getSubstitutedPackageName(String packageName)
packageName
- the package name to substitute.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |