Project JXTA

Uses of Interface
net.jxta.document.StructuredDocument

Packages that use StructuredDocument
net.jxta.credential Credentials provide the basic mechanisms for securly establishing and communicating identity within JXTA. 
net.jxta.document JXTA Documents are containers for both structured and unstructured data. 
net.jxta.protocol Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. 
net.jxta.socket The socket package provides interface ala Socket over JXTA pipes. 
net.jxta.util A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. 
 

Uses of StructuredDocument in net.jxta.credential
 

Methods in net.jxta.credential that return StructuredDocument
 StructuredDocument AuthenticationCredential.getDocument(MimeMediaType as)
          Write credential into a document. as is a mime media-type specification and provides the form of the document which is being requested.
 StructuredDocument Credential.getDocument(MimeMediaType asMimeType)
          Write credential into a document.
 

Uses of StructuredDocument in net.jxta.document
 

Subinterfaces of StructuredDocument in net.jxta.document
 interface StructuredTextDocument
          Extends StructuredDocument to provide accessors appropriate for text based documents.
 interface XMLDocument
          Common interfaces for all StructuredTextDocument which are implemented by XML Documents.
 

Methods in net.jxta.document that return StructuredDocument
static StructuredDocument StructuredDocumentUtils.copyAsDocument(Element from)
          Copies the specified element or document into a standalone document of same type.
 StructuredDocument Element.getRoot()
          Get the root Element of the hierarchy this Element belongs to.
 StructuredDocument StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType, InputStream source)
          Create a structured document from a stream containing an appropriately serialized instance of the same document.
 StructuredDocument StructuredDocumentFactory.TextInstantiator.newInstance(MimeMediaType mimeType, Reader source)
          Create a structured document from a Reader containing an appropriately serialized instance of the same document.
 StructuredDocument StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType, String doctype)
          Create a new structured document of the type specified by doctype.
 StructuredDocument StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType, String doctype, String value)
          Create a new structured document of the type specified by doctype.
static StructuredDocument StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype, InputStream stream)
          Constructs an instance of StructuredDocument matching the mime-type specified by the mimetype parameter.
static StructuredDocument StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype, Reader reader)
          Constructs an instance of StructuredDocument matching the mime-type specified by the mimetype parameter.
static StructuredDocument StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype, String doctype)
          Constructs an instance of StructuredDocument matching the mime-type specified by the mimetype parameter.
static StructuredDocument StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype, String doctype, String value)
          Constructs an instance of StructuredDocument matching the mime-type specified by the mimetype parameter.
 

Methods in net.jxta.document with parameters of type StructuredDocument
static void StructuredDocumentUtils.copyChildren(StructuredDocument intoDoc, Element intoElement, Element from)
          Recursively copy children elements of from into the the element intoElement of document intoDoc.
static void StructuredDocumentUtils.copyElements(StructuredDocument intoDoc, Element intoElement, Element from)
          Recursively copy elements beginnging with from into the document identified by intoDoc.
static void StructuredDocumentUtils.copyElements(StructuredDocument intoDoc, Element intoElement, Element from, Object newName)
          Recursively copy elements beginnging with from into the document identified by intoDoc.
 

Uses of StructuredDocument in net.jxta.protocol
 

Methods in net.jxta.protocol that return StructuredDocument
 StructuredDocument ModuleImplAdvertisement.getCompat()
          returns the module impl. compatibility statement.
protected  StructuredDocument ModuleImplAdvertisement.getCompatPriv()
          Privileged version of ModuleImplAdvertisement.getCompat() that does not clone the elements.
 StructuredDocument ResolverQueryMsg.getCredential()
          returns the credential
 StructuredDocument ResolverResponseMsg.getCredential()
          returns the credential
 StructuredDocument PeerAdvertisement.getDesc()
          returns the description
 StructuredDocument PipeAdvertisement.getDesc()
          returns the description
 StructuredDocument ModuleImplAdvertisement.getParam()
          returns the param element.
 StructuredDocument ModuleSpecAdvertisement.getParam()
          returns the param element.
protected  StructuredDocument ModuleImplAdvertisement.getParamPriv()
          Privileged version of ModuleImplAdvertisement.getParam() that does not clone the elements.
protected  StructuredDocument ModuleSpecAdvertisement.getParamPriv()
          Privileged version of ModuleSpecAdvertisement.getParam() that does not clone the elements.
 StructuredDocument ConfigParams.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerAdvertisement.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerGroupAdvertisement.getServiceParam(ID key)
          Returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument ConfigParams.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerAdvertisement.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 StructuredDocument PeerGroupAdvertisement.removeServiceParam(ID key)
          Removes and returns the parameter element that matches the given key from the service parameters table.
 

Methods in net.jxta.protocol with parameters of type StructuredDocument
 boolean ConfigParams.addDocumentElements(StructuredDocument adv)
          Return the advertisement as a document.
 void ResolverQueryMsg.setCredential(StructuredDocument cred)
          set the credential
 void ResolverResponseMsg.setCredential(StructuredDocument cred)
          set the credential for this response.
 

Uses of StructuredDocument in net.jxta.socket
 

Fields in net.jxta.socket declared as StructuredDocument
protected  StructuredDocument JxtaMulticastSocket.credentialDoc
           
protected  StructuredDocument JxtaSocket.credentialDoc
           
protected  StructuredDocument JxtaServerSocket.myCredentialDoc
           
protected  StructuredDocument JxtaSocket.myCredentialDoc
           
 

Methods in net.jxta.socket that return StructuredDocument
protected static StructuredDocument JxtaMulticastSocket.getCredDoc(PeerGroup group)
          Obtain the credential doc from the group object
protected static StructuredDocument JxtaSocket.getCredDoc(PeerGroup group)
          obtain the cred doc from the group object
 StructuredDocument JxtaSocket.getCredentialDoc()
          get the remote credential doc
 

Methods in net.jxta.socket with parameters of type StructuredDocument
 void JxtaServerSocket.setCredentialDoc(StructuredDocument doc)
          Sets the connection credential doc If no credentials are set, the default group credential will be used
 void JxtaSocket.setCredentialDoc(StructuredDocument doc)
          Sets the connection credential doc If no credentials are set, the default group credential will be used
 

Constructors in net.jxta.socket with parameters of type StructuredDocument
JxtaSocket(PeerGroup group, Messenger msgr, PipeAdvertisement pipe, StructuredDocument credDoc, boolean isStream)
          Constructor for the JxtaSocket, this constructor does not establish a connection use this constructor when altering the default parameters, and options of the socket by default connections are unreliable, and the default timeout is 60 seconds to alter a connection a call to create(true) changes the connection to a reliable one.
 

Uses of StructuredDocument in net.jxta.util
 

Fields in net.jxta.util declared as StructuredDocument
protected  StructuredDocument JxtaBiDiPipe.credentialDoc
           
protected  StructuredDocument JxtaBiDiPipe.myCredentialDoc
           
protected  StructuredDocument JxtaServerPipe.myCredentialDoc
           
 

Methods in net.jxta.util that return StructuredDocument
static StructuredDocument DocumentUtilities.createParamDocument()
          Deprecated.  
protected static StructuredDocument JxtaBiDiPipe.getCredDoc(PeerGroup group)
          obtain the cred doc from the group object
 StructuredDocument JxtaBiDiPipe.getCredentialDoc()
          get the remote credential doc
 StructuredDocument JxtaServerPipe.getCredentialDoc()
          get the credential doc
 

Methods in net.jxta.util with parameters of type StructuredDocument
protected  boolean JxtaBiDiPipe.checkCred(StructuredDocument cred)
          Not implemented yet
static ModuleSpecAdvertisement AdvertisementUtilities.createModuleSpecAdvertisement(String name, ModuleClassAdvertisement moduleClassAdvertisement, StructuredDocument param)
          Deprecated. This implementation incompletely initializes the module spec advertisement. Consider creating Module Spec Advertisements without this method.
static ModuleSpecAdvertisement AdvertisementUtilities.createModuleSpecAdvertisement(String name, StructuredDocument param)
          Deprecated. This implementation incompletely initializes the module spec advertisement. Consider creating Module Spec Advertisements without this method.
 void JxtaBiDiPipe.setCredentialDoc(StructuredDocument doc)
          Sets the connection credential doc If no credentials are set, the default group credential will be used
 void JxtaServerPipe.setCredentialDoc(StructuredDocument doc)
          Sets the connection credential doc If no credentials are set, the default group credential will be used
 

Constructors in net.jxta.util with parameters of type StructuredDocument
JxtaBiDiPipe(PeerGroup group, Messenger msgr, PipeAdvertisement pipe, StructuredDocument credDoc, boolean isReliable)
          JxtaBiDiPipe A bidirectional pipe
 


JXTA J2SE