Name

StructuredDocument

Synopsis

JXTA represents documents composed of a hierarchy of elements using instances of this class. This applies to most of the advertisements and documents used by JXTA, which are built by adding elements to the document hierarchy.

public interface StructuredDocument extends Document, Element {
// Public Instance Methods
   public abstract Element createElement(Object key);  
   public abstract Element createElement(Object key, Object value);
}

Implementations

StructuredTextDocument

Passed To

StructuredDocumentUtils.{copyChildren(), copyElements()}, net.jxta.protocol.ModuleSpecAdvertisement.setParam()

Returned By

net.jxta.credential.AuthenticationCredential.getDocument(), net.jxta.credential.Credential.getDocument(), Element.getRoot(), StructuredDocumentFactory.newStructuredDocument(), StructuredDocumentFactory.Instantiator.newInstance(), StructuredDocumentUtils.copyAsDocument(), net.jxta.protocol.ModuleImplAdvertisement.{getCompat(), getParam()}, net.jxta.protocol.ModuleSpecAdvertisement.getParam(), net.jxta.protocol.PeerAdvertisement.{getServiceParam(), removeServiceParam()}, net.jxta.protocol.PeerGroupAdvertisement.{getServiceParam(), removeServiceParam()}

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.