Name
Package net.jxta.document
Synopsis
The classes in this package manage JXTA documents. Documents are the key abstraction of data sent between JXTA peers: all data elements exchanged by JXTA peers are instances of documents. Documents may be either structured or unstructured; the most common usage is structured documents with a MIME type of “text/xml.”
Advertisements
for various types of JXTA resources are represented by
Advertisement
objects returned from the
AdvertisementFactory
class. Similarly, you use the
StructuredDocumentFactory
class to obtain
StructuredDocument
objects, which can then be
populated with one or more Element
objects. The
class hierarchy for this package is shown in Figure 9-4.
Figure 9-4. The net.jxta.document package
Interfaces
public static interface
AdvertisementFactory.Instantiator; |
public interface
Attributable; |
public interface
Document; |
public interface
Element; |
public interface
StructuredDocument extends Document, Element;
|
public static interface
StructuredDocumentFactory.Instantiator; |
public interface
StructuredTextDocument extends StructuredDocument, TextDocument , TextElement;
|
public interface
TextDocument extends Document; |
public interface
TextElement extends Element; |
Classes
public abstract class
Advertisement; |
public class
AdvertisementFactory extends net.jxta.util.ClassFactory; |
public class
Attribute; |
public class
MimeMediaType ... |
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.