salsa.corpora.elements
Class Date

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

public class Date
extends java.lang.Object


Constructor Summary
Date()
          Zero-argumented default constructor.
 
Method Summary
 java.lang.String getText()
          Returns the text (PCDATA in XML).
static java.lang.String getXmltag()
          Returns the XML element name of Date.
 void setText(java.lang.String text)
          Sets the text (PCDATA in XML).
 java.lang.String toString()
          Returns a recursively created XML representation of this Date.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Date

public Date()
Zero-argumented default constructor.

Method Detail

getText

public java.lang.String getText()
Returns the text (PCDATA in XML).

Returns:
the text

getXmltag

public static java.lang.String getXmltag()
Returns the XML element name of Date.

Returns:
the xmltag

setText

public void setText(java.lang.String text)
Sets the text (PCDATA in XML).

Parameters:
text - the text to set

toString

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

Overrides:
toString in class java.lang.Object