|
JXTA | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
Credential.getDocument(MimeMediaType asMimeType)
Write credential into a document. |
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. |
Uses of StructuredDocument in net.jxta.document |
---|
Subinterfaces of StructuredDocument in net.jxta.document | |
---|---|
interface |
StructuredTextDocument<T extends TextElement<T>>
Extends StructuredDocument to provide accessors appropriate for text
based documents. |
interface |
XMLDocument<X extends XMLElement<X>>
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 document 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(MessageElement element)
Constructs an instance of StructuredDocument based upon the
content of the provided message element. |
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 Element |
StructuredDocumentUtils.copyElements(StructuredDocument intoDoc,
Element intoElement,
Element from)
Recursively copy elements beginnging with from into the
document identified by intoDoc . |
static Element |
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 opaque compatibility statement for this advertisement. |
protected StructuredDocument |
ModuleImplAdvertisement.getCompatPriv()
Privileged version of ModuleImplAdvertisement.getCompat() that does not clone the elements. |
StructuredDocument |
ResolverResponseMsg.getCredential()
returns the credential |
StructuredDocument |
ResolverQueryMsg.getCredential()
returns the credential |
StructuredDocument |
ModuleSpecAdvertisement.getDesc()
returns the description |
StructuredDocument |
PipeAdvertisement.getDesc()
Return the description meta-data for the pipe described by this advertisement. |
StructuredDocument |
ModuleClassAdvertisement.getDesc()
returns the description |
StructuredDocument |
PeerAdvertisement.getDesc()
returns the description |
StructuredDocument |
PeerGroupAdvertisement.getDesc()
returns the description |
StructuredDocument |
ModuleImplAdvertisement.getDesc()
returns the description |
StructuredDocument |
ModuleImplAdvertisement.getDescPriv()
Privileged version of ModuleImplAdvertisement.getDesc() that does not clone the elements. |
StructuredDocument |
ModuleSpecAdvertisement.getParam()
returns the param element. |
StructuredDocument |
ModuleImplAdvertisement.getParam()
returns the param element. |
protected StructuredDocument |
ModuleSpecAdvertisement.getParamPriv()
Privileged version of ModuleSpecAdvertisement.getParam() that does not clone the elements. |
protected StructuredDocument |
ModuleImplAdvertisement.getParamPriv()
Privileged version of ModuleImplAdvertisement.getParam() that does not clone the elements. |
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.getServiceParam(ID key)
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. |
StructuredDocument |
ConfigParams.removeServiceParam(ID key)
Removes and returns the parameter element that matches the given key from the service parameters table. |
Methods in net.jxta.protocol that return types with arguments of type StructuredDocument | |
---|---|
Hashtable<ID,StructuredDocument> |
PeerAdvertisement.getServiceParams()
Returns the sets of parameters for all services. |
Hashtable<ID,StructuredDocument> |
PeerGroupAdvertisement.getServiceParams()
Returns the sets of parameters for all services. |
Set<Map.Entry<ID,StructuredDocument>> |
ConfigParams.getServiceParamsEntrySet()
Deprecated. This method exposes the internal data structures of the advertisement and will be removed in order to prevent unexpected behaviour. |
Methods in net.jxta.protocol with parameters of type StructuredDocument | |
---|---|
boolean |
ConfigParams.addDocumentElements(StructuredDocument adv)
Return the advertisement as a document. |
void |
ResolverResponseMsg.setCredential(StructuredDocument cred)
set the credential for this response. |
void |
ResolverQueryMsg.setCredential(StructuredDocument cred)
set the credential |
Uses of StructuredDocument in net.jxta.socket |
---|
Fields in net.jxta.socket declared as StructuredDocument | |
---|---|
protected StructuredDocument |
JxtaMulticastSocket.credentialDoc
|
Methods in net.jxta.socket that return StructuredDocument | |
---|---|
protected static StructuredDocument |
JxtaMulticastSocket.getCredDoc(PeerGroup group)
Obtain the credential doc from the group object |
Uses of StructuredDocument in net.jxta.util |
---|
Fields in net.jxta.util declared as StructuredDocument | |
---|---|
protected StructuredDocument |
JxtaBiDiPipe.credentialDoc
|
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. |
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,
boolean direct)
Creates a bidirectional pipe |
|
JXSE | |||||||||
PREV NEXT | FRAMES NO FRAMES |