net.jxta.codat
Class Metadata
java.lang.Object
|
+--net.jxta.codat.Codat
|
+--net.jxta.codat.Metadata
- public class Metadata
- extends Codat
This class represents a metadata Codat. Medata Codats are special
codats that contain information about another codats. Multiple medata
codats can refer to the same codat. Medata codats can hold any kinds
of information about a codat, such as a symbolic name, description,
index and seraching information, etc.
Codats are JXTA objects that can hold both data or code. The core
platform API is making available the Codat APIs to JXTA services and
applications as a placeholder for all contents they are
manipulating. The Core is not making any references to this class. The
Codat class is offered as a standard way for applications and services
to exchange any kinds of contents.
- Since:
- JXTA 1.0
- See Also:
Codat
,
CodatID
,
Document
,
StructuredDocument
,
StructuredTextDocument
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metadata
public Metadata(PeerGroupID groupID,
CodatID about,
Document document)
- Parameters:
groupID
- the group to which this metadata will be publishedabout
- metadata for which this Codat is metadataDocument
- doc held by this codat.- Since:
- JXTA 1.0
Metadata
public Metadata(CodatID id,
CodatID about,
Document document)
- Makes a new Metadata instance from parameters for an existing Codat,
a CodatID and a document.
- Parameters:
id
- CodatId of the new codatabout
- CodatId for which this is a codatdoc
- Document hold by this codat- Since:
- JXTA 1.0