Project JXTA

Uses of Interface
net.jxta.document.Document

Packages that use Document
net.jxta.codat Codats are container objects that can hold both data or code and are associated with a JXTA ID. 
net.jxta.document JXTA Documents are containers for both structured and unstructured data. 
net.jxta.endpoint Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. 
net.jxta.protocol Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. 
 

Uses of Document in net.jxta.codat
 

Fields in net.jxta.codat declared as Document
protected  Document Codat.doc
          A JXTA Document which contains the data held by this Codat.
 

Methods in net.jxta.codat that return Document
 Document Codat.getDocument()
          Returns the Document associated with this Codat.
 

Constructors in net.jxta.codat with parameters of type Document
Codat(CodatID id, CodatID about, Document document)
          Makes a new Codat instance from an existing Codat, with a given CodatID and a document.
Codat(PeerGroupID groupID, ID about, Document document)
          Makes a new Codat with a new CodatId given a PeerGroupID and a document.
Metadata(CodatID id, CodatID about, Document document)
          Construct a new Metadata instance from parameters for an existing Codat, a CodatID and a document.
Metadata(PeerGroupID groupID, CodatID about, Document document)
          Construct a new Codat with a new CodatId given a PeerGroupID and a document.
 

Uses of Document in net.jxta.document
 

Subinterfaces of Document in net.jxta.document
 interface StructuredDocument
          An extension of Document which allows the content of a document to be specified by a hierarchy of elements.
 interface StructuredTextDocument
          Extends StructuredDocument to provide accessors appropriate for text based documents.
 interface TextDocument
          Extends Document for text documents.
 interface XMLDocument
          Common interfaces for all StructuredTextDocument which are implemented by XML Documents.
 

Methods in net.jxta.document that return Document
abstract  Document Advertisement.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document.
 Document ExtendableAdvertisement.getDocument(MimeMediaType encodeAs)
          Write advertisement into a document.

We don't have any content to add, just build the document instance and return it to implementations that actually do something with it.

 

Uses of Document in net.jxta.endpoint
 

Classes in net.jxta.endpoint that implement Document
 class ByteArrayMessageElement
          A Message Element using byte arrays for the element data.
 class InputStreamMessageElement
          A Message Element using InputStream as the source for the element data.
 class MessageElement
          JXTA Message Elements are used to add data to a Message.
 class StringMessageElement
          A Message Element using character strings for the element data.
 class TextDocumentMessageElement
          A Message Element using JXTA TextDocument for the element data.
 class TextMessageElement
          An extension of MessageElement for managing elements that are composed of character text.
 

Uses of Document in net.jxta.protocol
 

Methods in net.jxta.protocol that return Document
abstract  Document DiscoveryQueryMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document DiscoveryResponseMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document LimitedRangeRdvMessage.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document PeerInfoQueryMessage.getDocument(MimeMediaType encodeAs)
           
abstract  Document PeerInfoResponseMessage.getDocument(MimeMediaType encodeAs)
           
abstract  Document PipeResolverMessage.getDocument(MimeMediaType asMimeType)
          Write message into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document ResolverQueryMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document ResolverResponseMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document ResolverSrdiMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document RouteQueryMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document RouteResponseMsg.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
abstract  Document SrdiMessage.getDocument(MimeMediaType asMimeType)
          Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested.
 


JXTA J2SE