Package | Description |
---|---|
com.pushtechnology.diffusion.api.data |
Diffusion Topic Data API.
|
com.pushtechnology.diffusion.api.data.metadata |
Diffusion Metadata API.
|
com.pushtechnology.diffusion.api.topic |
Diffusion Topics API.
|
Modifier and Type | Method and Description |
---|---|
MNode |
TopicDataWithMetadata.getMetadataNode()
Returns the metadata associated with the TopicData.
|
Modifier and Type | Method and Description |
---|---|
void |
TopicDataWithMetadata.setMetadataNode(MNode metadata)
Sets Optional Metadata on the TopicData.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MField
The interface for a metadata field node.
|
interface |
MMessage
Interface for 'message' metadata node.
|
interface |
MRecord
The interface for a metadata record node.
|
Modifier and Type | Method and Description |
---|---|
static MNode |
MetadataFactory.decodeFromXML(String xml)
Parse metadata from XML.
|
MNode |
MRecord.getChild(int index)
Gets the child at a given index.
|
Modifier and Type | Method and Description |
---|---|
List<MNode> |
MRecord.childNodes()
Returns a list of the children of the record.
|
Modifier and Type | Method and Description |
---|---|
static String |
MetadataFactory.encodeAsXML(MNode metadata)
Encode metadata as XML.
|
static String |
MetadataFactory.encodeAsXML(MNode metadata,
boolean format)
Encode metadata as XML.
|
Modifier and Type | Method and Description |
---|---|
MNode |
TopicDefinition.getMetadata()
Returns metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
TopicDefinition.setMetadata(MNode metadata)
Sets metadata for the Topic.
|
Constructor and Description |
---|
TopicDefinition(TopicDataType type,
Map<TopicProperty,Object> properties,
MNode metadata)
Creates a Topic Definition.
|
TopicDefinition(TopicDataType type,
MNode metadata)
Creates a Topic Definition of a specified type with Metadata.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.