net.sf.jse
Class SequenceFragment

java.lang.Object
  |
  +--net.sf.jse.Fragment
        |
        +--net.sf.jse.CompoundFragment
              |
              +--net.sf.jse.SequenceFragment
All Implemented Interfaces:
java.lang.Cloneable

public class SequenceFragment
extends CompoundFragment

A compound fragment used to represent the value of pattern variable matching more than one fragment

Version:
0.9, 03OCT00
Author:
Jonathan Bachrach, Keith Playford

Fields inherited from class net.sf.jse.Fragment
out
 
Constructor Summary
SequenceFragment(FragmentList fragments)
           
 
Method Summary
 FragmentList getInsideFragments()
           
 java.lang.Object getValue()
          protocol for converting fragments back into Java literals
 void setInsideFragments(FragmentList fragments)
           
 
Methods inherited from class net.sf.jse.CompoundFragment
collectBoundVariables, compileNestedTemplate, compileTemplate, tokens, toString
 
Methods inherited from class net.sf.jse.Fragment
capitalize, compilePatternElement, compileQuestionExpression, die, expandMacros, expandTemplates, generatePatternCode, getChar, getCurrentLine, getFloat, getInt, getLine, getString, isTerminator, makeToken, makeToken, markMacros, setCurrentLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceFragment

public SequenceFragment(FragmentList fragments)
Method Detail

getInsideFragments

public FragmentList getInsideFragments()
Overrides:
getInsideFragments in class Fragment

setInsideFragments

public void setInsideFragments(FragmentList fragments)
Overrides:
setInsideFragments in class CompoundFragment

getValue

public java.lang.Object getValue()
Description copied from class: Fragment
protocol for converting fragments back into Java literals
Overrides:
getValue in class Fragment