net.jxta.document
Interface StructuredTextDocument<T extends TextElement<T>>
- All Superinterfaces:
- Document, DocumentStreamIO, Element<T>, StructuredDocument<T>, TextDocument, TextDocumentReaderIO, TextElement<T>
- All Known Subinterfaces:
- XMLDocument<X>
public interface StructuredTextDocument<T extends TextElement<T>>
- extends TextDocument, StructuredDocument<T>, TextElement<T>
Extends StructuredDocument
to provide accessors appropriate for text
based documents.
- See Also:
Document
,
StructuredDocument
,
TextDocument
,
Element
,
TextElement
,
StructuredDocumentFactory
createElement
T createElement(String name)
- Create a new element without value.
- Parameters:
name
- The name of the element to be created.
- Returns:
- The new element.
createElement
T createElement(String name,
String value)
- Create a new element with value.
- Parameters:
name
- The name of the element to be created.value
- The value of the element to be created.
- Returns:
- The new element.