oss.net.pstream.rewrite
Class RewriteRule
java.lang.Object
|
+--oss.net.pstream.rewrite.RewriteStep
|
+--oss.net.pstream.rewrite.RewriteRule
- public class RewriteRule
- extends RewriteStep
Title:
Description:
Copyright: Copyright (c) 2002
Company:
- Version:
- 1.0
- Author:
- unascribed
Constructor Summary |
RewriteRule(java.lang.String Name,
java.lang.String Flags,
boolean Debug)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAST_RULE
public static final char LAST_RULE
- See Also:
- Constant Field Values
_last_rule
protected boolean _last_rule
RewriteRule
public RewriteRule(java.lang.String Name,
java.lang.String Flags,
boolean Debug)
throws RewriteException
getLastResult
public org.apache.oro.text.regex.MatchResult getLastResult()
throws RewriteException
- Specified by:
getLastResult
in class RewriteStep
RewriteException
isPostFetch
public boolean isPostFetch()
- Specified by:
isPostFetch
in class RewriteStep
setSubstitutionString
public void setSubstitutionString(java.lang.String SubString)
throws RewriteException
RewriteException
setPatternString
public void setPatternString(java.lang.String PatternString)
throws RewriteException
- Specified by:
setPatternString
in class RewriteStep
RewriteException
init
public void init(RewriteCondition PreviousCondition,
RewriteRule PreviousRule,
PortletStreamParameters Params)
throws RewriteException
- Specified by:
init
in class RewriteStep
RewriteException
reset
public void reset()
- Specified by:
reset
in class RewriteStep
replace
public int replace(RewriteCondition PreviousCondition,
RewriteRule PreviousRule,
PortletStreamParameters Params)
throws RewriteException
RewriteException
getVariableHandler
public RewriteVariableHandler getVariableHandler()
- Specified by:
getVariableHandler
in class RewriteStep
numReplaced
public int numReplaced()
getType
public int getType()
- Specified by:
getType
in class RewriteStep
getName
public java.lang.String getName()
- Specified by:
getName
in class RewriteStep
getFlag
public boolean getFlag(char Flag)
throws RewriteException
RewriteException
setFlag
public void setFlag(char Flag)
throws RewriteException
RewriteException
setFlags
public void setFlags(java.lang.String FlagTokens)
throws RewriteException
RewriteException
wasLastRule
public boolean wasLastRule()
throws RewriteException
RewriteException
setTarget
public void setTarget(RewriteVariableHandler Target)
- Specified by:
setTarget
in class RewriteStep
- See Also:
RewriteStep.setTarget(RewriteVariableHandler)
Copyright © 2000 Dummy Corp. All Rights Reserved.