salsa.corpora.elements
Class Flags

java.lang.Object
  extended by salsa.corpora.elements.Flags

public class Flags
extends java.lang.Object


Constructor Summary
Flags()
          Zero-argumented default constructor.
 
Method Summary
 void addFlag(Flag newFlag)
          Adds a new Flag to this Flags.
 java.util.ArrayList<Flag> getFlags()
          Returns the Flag elements of this Flags.
static java.lang.String getXmltag()
          Returns the name of the XML element of Flags, i. e.
 java.lang.String toString()
          Returns a recursively created XML representation of this Flags.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Flags

public Flags()
Zero-argumented default constructor.

Method Detail

addFlag

public void addFlag(Flag newFlag)
Adds a new Flag to this Flags.

Parameters:
newFlag -

getFlags

public java.util.ArrayList<Flag> getFlags()
Returns the Flag elements of this Flags.

Returns:
the flags

getXmltag

public static java.lang.String getXmltag()
Returns the name of the XML element of Flags, i. e. 'flags'.

Returns:
the xmltag

toString

public java.lang.String toString()
Returns a recursively created XML representation of this Flags.

Overrides:
toString in class java.lang.Object