org.jopendocument.model.text
Class TextListItem

java.lang.Object
  extended by org.jopendocument.model.text.TextListItem

public class TextListItem
extends Object


Field Summary
protected  String textRestartNumbering
           
protected  String textStartValue
           
 
Constructor Summary
TextListItem()
           
 
Method Summary
 void addTextElement(Object p)
           
 List<Object> getElements()
          Gets the value of the textPOrTextHOrTextOrderedListOrTextUnorderedList property.
 String getTextRestartNumbering()
          Gets the value of the textRestartNumbering property.
 String getTextStartValue()
          Gets the value of the textStartValue property.
 void setTextRestartNumbering(String value)
          Sets the value of the textRestartNumbering property.
 void setTextStartValue(String value)
          Sets the value of the textStartValue property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textRestartNumbering

protected String textRestartNumbering

textStartValue

protected String textStartValue
Constructor Detail

TextListItem

public TextListItem()
Method Detail

getElements

public List<Object> getElements()
Gets the value of the textPOrTextHOrTextOrderedListOrTextUnorderedList property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the textPOrTextHOrTextOrderedListOrTextUnorderedList property.

For example, to add a new item, do as follows:

 getTextPOrTextHOrTextOrderedListOrTextUnorderedList().add(newItem);
 

Objects of the following type(s) are allowed in the list TextP TextH TextOrderedList TextUnorderedList


getTextRestartNumbering

public String getTextRestartNumbering()
Gets the value of the textRestartNumbering property.

Returns:
possible object is String

getTextStartValue

public String getTextStartValue()
Gets the value of the textStartValue property.

Returns:
possible object is String

setTextRestartNumbering

public void setTextRestartNumbering(String value)
Sets the value of the textRestartNumbering property.

Parameters:
value - allowed object is String

setTextStartValue

public void setTextStartValue(String value)
Sets the value of the textStartValue property.

Parameters:
value - allowed object is String

addTextElement

public void addTextElement(Object p)


Copyright © 2010 jOpenDocument All Rights Reserved.