Class YaspStanza

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byYaspStanza
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class YaspStanza
extends java.util.ArrayList

Class representing a stanza.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
YaspStanza()
          Create an instance of YaspStanza.
 
Method Summary
 java.lang.String accentuationToString()
           
 java.lang.String figuresToString()
           
 boolean isTitle()
           
 java.lang.String phonsToString()
           
 java.lang.String printTitle()
          Print the title of the poem.
 void setTitle(boolean b)
          Set true if stanza has title.
 java.lang.String syllsToString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

YaspStanza

public YaspStanza()
Create an instance of YaspStanza.

Method Detail

setTitle

public void setTitle(boolean b)
Set true if stanza has title.


isTitle

public boolean isTitle()

printTitle

public java.lang.String printTitle()
Print the title of the poem. Title is the first stanza iff it contains only one verse.

Returns:
the title as a String (empty String if no title)

accentuationToString

public java.lang.String accentuationToString()

phonsToString

public java.lang.String phonsToString()

syllsToString

public java.lang.String syllsToString()

figuresToString

public java.lang.String figuresToString()

toString

public java.lang.String toString()