|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.text.TextNumberedParagraphElement
public class TextNumberedParagraphElement
DOM implementation of OpenDocument element text:numbered-paragraph.
Field Summary | |
---|---|
static OdfName |
ELEMENT_NAME
|
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
mFamily, mStyleNameAttrib |
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
---|
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
---|
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from interface org.w3c.dom.TypeInfo |
---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
---|---|
TextNumberedParagraphElement(OdfFileDom ownerDoc)
Create the instance of TextNumberedParagraphElement |
Method Summary | |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
OdfName |
getOdfName()
Get the element name |
Boolean |
getTextContinueNumberingAttribute()
Receives the value of the ODFDOM attribute representation TextContinueNumberingAttribute , See text:continue-numbering |
Integer |
getTextLevelAttribute()
Receives the value of the ODFDOM attribute representation TextLevelAttribute , See text:level |
String |
getTextListIdAttribute()
Receives the value of the ODFDOM attribute representation TextListIdAttribute , See text:list-id
Attribute is mandatory. |
Integer |
getTextStartValueAttribute()
Receives the value of the ODFDOM attribute representation TextStartValueAttribute , See text:start-value |
String |
getTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation TextStyleNameAttribute , See text:style-name |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation XmlIdAttribute , See xml:id |
TextHElement |
newTextHElement(int textOutlineLevelValue)
Create child element text:h. |
TextNumberElement |
newTextNumberElement()
Create child element text:number. |
TextPElement |
newTextPElement()
Create child element text:p. |
void |
setTextContinueNumberingAttribute(Boolean textContinueNumberingValue)
Sets the value of ODFDOM attribute representation TextContinueNumberingAttribute , See text:continue-numbering |
void |
setTextLevelAttribute(Integer textLevelValue)
Sets the value of ODFDOM attribute representation TextLevelAttribute , See text:level |
void |
setTextListIdAttribute(String textListIdValue)
Sets the value of ODFDOM attribute representation TextListIdAttribute , See text:list-id |
void |
setTextStartValueAttribute(Integer textStartValueValue)
Sets the value of ODFDOM attribute representation TextStartValueAttribute , See text:start-value |
void |
setTextStyleNameAttribute(String textStyleNameValue)
Sets the value of ODFDOM attribute representation TextStyleNameAttribute , See text:style-name |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id |
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleName |
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
Field Detail |
---|
public static final OdfName ELEMENT_NAME
Constructor Detail |
---|
public TextNumberedParagraphElement(OdfFileDom ownerDoc)
TextNumberedParagraphElement
ownerDoc
- The type is OdfFileDom
Method Detail |
---|
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element text:numbered-paragraph.public Boolean getTextContinueNumberingAttribute()
TextContinueNumberingAttribute
, See text:continue-numbering
Boolean
, the value or null
, if the attribute is not set and no default value defined.public void setTextContinueNumberingAttribute(Boolean textContinueNumberingValue)
TextContinueNumberingAttribute
, See text:continue-numbering
textContinueNumberingValue
- The type is Boolean
public Integer getTextLevelAttribute()
TextLevelAttribute
, See text:level
Integer
, the value or null
, if the attribute is not set and no default value defined.public void setTextLevelAttribute(Integer textLevelValue)
TextLevelAttribute
, See text:level
textLevelValue
- The type is Integer
public String getTextListIdAttribute()
TextListIdAttribute
, See text:list-id
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextListIdAttribute(String textListIdValue)
TextListIdAttribute
, See text:list-id
textListIdValue
- The type is String
public Integer getTextStartValueAttribute()
TextStartValueAttribute
, See text:start-value
Integer
, the value or null
, if the attribute is not set and no default value defined.public void setTextStartValueAttribute(Integer textStartValueValue)
TextStartValueAttribute
, See text:start-value
textStartValueValue
- The type is Integer
public String getTextStyleNameAttribute()
TextStyleNameAttribute
, See text:style-name
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextStyleNameAttribute(String textStyleNameValue)
TextStyleNameAttribute
, See text:style-name
textStyleNameValue
- The type is String
public String getXmlIdAttribute()
XmlIdAttribute
, See xml:id
String
, the value or null
, if the attribute is not set and no default value defined.public void setXmlIdAttribute(String xmlIdValue)
XmlIdAttribute
, See xml:id
xmlIdValue
- The type is String
public TextHElement newTextHElement(int textOutlineLevelValue)
textOutlineLevelValue
- the Integer
value of TextOutlineLevelAttribute
, see text:outline-level at specification
public TextNumberElement newTextNumberElement()
public TextPElement newTextPElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |