salsa.corpora.elements
Class Step

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

public class Step
extends java.lang.Object

Represents the 'step' section in a SalsaXML corpus.

Author:
Fabian Shirokov

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

Constructor Detail

Step

public Step()
Zero-argumented default constructor.

Method Detail

getStep

public java.lang.String getStep()
Returns the step.

Returns:
the step

getXmltag

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

Returns:
the xmltag

setStep

public void setStep(java.lang.String step)
Sets the step (PCDATA in XML).

Parameters:
step - the step to set

toString

public java.lang.String toString()
Returns a recursively created XML represenation of this Step.

Overrides:
toString in class java.lang.Object