org.jostraca.util
Class PrefixOperatorPSM
java.lang.Object
org.jostraca.util.PrefixOperatorPSM
- All Implemented Interfaces:
- PropertySetModifier
- public class PrefixOperatorPSM
- extends java.lang.Object
- implements PropertySetModifier
Performs modifications on property values based on a prefix operation.
The syntax has the form: (operation/qualifier) value,
where the qualifier is optional. The following operations are defined:
- (file/x)
- Value is a file name to be converted to an absolute path. Qualifers (x) are
tr: template-relative (default) and or: output-relative.
- (nil)
- Makes no change to the value. Can be used to escape vales begining with the operation syntax,
like so: (nil) (foo) bar -> (foo) bar.
|
Field Summary |
static java.lang.String |
CN
|
static java.lang.String |
REGEXP_prefix
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CN
public static final java.lang.String CN
REGEXP_prefix
public static final java.lang.String REGEXP_prefix
- See Also:
- Constant Field Values
PrefixOperatorPSM
public PrefixOperatorPSM()
modify
public void modify(PropertySet pSourcePropertySet,
PropertySet pTargetPropertySet)
throws StandardException
- Modify the target PropertySet.
- Specified by:
modify in interface PropertySetModifier
- Parameters:
pSourcePropertySet - PropertySet containing source valuespTargetPropertySet - PropertySet to set new values in
- Throws:
StandardException
Copyright © 2000-2002 Richard Rodger