salsa.corpora.elements
Class Head

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

public class Head
extends java.lang.Object

Represents the 'head' section in a SalsaXML corpus.

Author:
Fabian Shirokov

Constructor Summary
Head()
          Zero-argumented default constructor.
 
Method Summary
 Annotation getAnnotation()
          Returns the Annotation.
 Flags getFlags()
          Returns the Flags.
 Frames getFrames()
          Returns the Frames.
 Meta getMeta()
          Returns the Meta.
 Wordtags getWordtags()
          Returns the Wordtags.
static java.lang.String getXmltag()
          Returns the name of the XML element of Head, i. e.
 void setAnnotation(Annotation annotation)
          Sets the Annotation.
 void setFlags(Flags flags)
          Sets the Flags.
 void setFrames(Frames frames)
          Sets the Frames.
 void setMeta(Meta meta)
          Sets the Meta.
 void setWordtags(Wordtags wordtags)
          Sets the Wordtags.
 java.lang.String toString()
          Returns a recursively created XML representation of this Head.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Head

public Head()
Zero-argumented default constructor.

Method Detail

getAnnotation

public Annotation getAnnotation()
Returns the Annotation.

Returns:
the annotation

getFlags

public Flags getFlags()
Returns the Flags.

Returns:
the flags

getFrames

public Frames getFrames()
Returns the Frames.

Returns:
the frames

getMeta

public Meta getMeta()
Returns the Meta.

Returns:
the meta

getWordtags

public Wordtags getWordtags()
Returns the Wordtags.

Returns:
the wordtags

getXmltag

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

Returns:
the xmltag

setAnnotation

public void setAnnotation(Annotation annotation)
Sets the Annotation.

Parameters:
annotation - the annotation to set

setFlags

public void setFlags(Flags flags)
Sets the Flags.

Parameters:
flags - the flags to set

setFrames

public void setFrames(Frames frames)
Sets the Frames.

Parameters:
frames - the frames to set

setMeta

public void setMeta(Meta meta)
Sets the Meta.

Parameters:
meta - the meta to set

setWordtags

public void setWordtags(Wordtags wordtags)
Sets the Wordtags.

Parameters:
wordtags - the wordtags to set

toString

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

Overrides:
toString in class java.lang.Object