|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.document.TextElementCommon
This class represent an element of a Text document. This class provides some common things needed by TextElement instances.
Constructor Summary | |
TextElementCommon()
|
Method Summary | |
void |
appendChild(Element element)
Add a child element to this element |
Enumeration |
getChildren(Object key)
Returns an enumeration of the immediate children of this element whose name match the specified string. |
Object |
getKey()
Get the name associated with an element. |
Object |
getValue()
Get the value (if any) associated with an element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.jxta.document.TextElement |
appendChild, getChildren, getName, getTextValue |
Methods inherited from interface net.jxta.document.Element |
getChildren, getParent, getRoot |
Constructor Detail |
public TextElementCommon()
Method Detail |
public void appendChild(Element element)
appendChild
in interface Element
element
- the element to be added as a childpublic Enumeration getChildren(Object key)
getChildren
in interface Element
key
- The key which will be matched against.
public Object getKey()
getKey
in interface Element
public Object getValue()
getValue
in interface Element
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |