Cisco Cisco Collaboration Server Dynamic Content Adapter Guide Du Développeur

Page de 138
DCA 2.01 Parser API Specification
 
Class ParsedMatch   86 
 java.lang.String
getString
()
  
          Returns the this object as a flattened string.
 
 boolean
isGroupValid
(int groupNum)
  
          Gets the groupValid attribute of the ParsedMatch 
object
 
 boolean
isRendered
()
  
          Returns true if the rule has already been 
rendered, meaning the script has been executed.
 
 boolean
isValid
()
  
          Returns true if this subgroup's value is valid.
 
 int
length
()
  
          Returns the length of this object's string.
 
 void
render
(
LightweightRequestData
 requestData, 
com.cisco.proxy.scripting.ScriptEnvironment se)
          Renders this object according to the parameters 
provided in requestData.
 
 void
setDoRender
(boolean doRender)
  
          Set this instance to render or not.
 
 void
setGroup
(int groupNum, 
java.lang.String newGroupString)
  
          Sets the value of a subgroup to the provided 
String.
 
 java.lang.String
setGroupJS
(int groupNum, 
java.lang.String newGroupString)
  
          Sets a particular subgroup to a new string.
 
 java.lang.String
toString
()
  
          Description of the Method
 
 java.lang.String
toString
(java.lang.String prepend)
  
          Description of the Method
 
 boolean
wasRuleMatched
(java.lang.String ruleName)
  
Returns true if a given rule name was matched