dochelper.xins
Class XINSCAPIPatternTransform

java.lang.Object
  extended by dochelper.TransformDefinitionImpl
      extended by dochelper.xins.XINSCAPIPatternTransform
All Implemented Interfaces:
TransformDefinition

public class XINSCAPIPatternTransform
extends TransformDefinitionImpl


Field Summary
(package private)  java.util.regex.Pattern regExp
          String: Regular Expressions Pattern to Match
 
Constructor Summary
XINSCAPIPatternTransform(java.lang.String text)
          Creates a new instance of NodeDefinitionImpl
 
Method Summary
 java.lang.String render(java.util.regex.MatchResult result)
          Main method of XINSCAPIPatternTransform class.
 
Methods inherited from class dochelper.TransformDefinitionImpl
getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regExp

java.util.regex.Pattern regExp
String: Regular Expressions Pattern to Match

Constructor Detail

XINSCAPIPatternTransform

public XINSCAPIPatternTransform(java.lang.String text)
Creates a new instance of NodeDefinitionImpl

Method Detail

render

public java.lang.String render(java.util.regex.MatchResult result)
Main method of XINSCAPIPatternTransform class. This method is called to create the output content given a set of matches for a particular regular expression. It will also convert to lower or upper items contained within $l() or $u() respectivley.

Specified by:
render in interface TransformDefinition
Overrides:
render in class TransformDefinitionImpl
Parameters:
result - java.util.regex.MatchResult that contains the match results for a regular expression. It contains the whole match and separate groups.
Returns:
String containing the render result.