com.ontimize.util.rtf.element
Class RTFElement
java.lang.Object
com.ontimize.util.rtf.element.RTFElement
- public class RTFElement
- extends java.lang.Object
|
Field Summary |
static java.lang.String |
LENGTH
|
static java.lang.String |
NAME
|
static java.lang.String |
TYPE
|
static java.lang.String |
VAL
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
VAL
public static final java.lang.String VAL
- See Also:
- Constant Field Values
LENGTH
public static final java.lang.String LENGTH
- See Also:
- Constant Field Values
RTFElement
public RTFElement()
RTFElement
public RTFElement(RTFElement parent)
getAttributeNames
public java.util.Enumeration getAttributeNames()
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
getType
public java.lang.String getType()
getName
public java.lang.String getName()
getLength
public int getLength()
getContent
public java.lang.Object getContent()
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object obj)
setAttribute
public void setAttribute(java.lang.String key,
int obj)
removeAttribute
public void removeAttribute(java.lang.String key)
getAttributeCount
public int getAttributeCount()
getChildList
public java.util.Enumeration getChildList()
getChildCount
public int getChildCount()
getChild
public RTFElement getChild(int idx)
addChild
public void addChild(RTFElement node)
removeChild
public void removeChild(int idx)
indexOf
public int indexOf(RTFElement node)
toString
public java.lang.String toString()
list
public void list()
list
public void list(int tab)
getParent
public RTFElement getParent()