Package | Description |
---|---|
com.pushtechnology.diffusion.client.content.metadata |
Unified API - Metadata.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MContent
Interface for a content metadata node.
|
interface |
MCustomString
Custom string field metadata.
|
interface |
MDecimalString
Decimal string field metadata.
|
interface |
MField
The top level interface for metadata field definitions.
|
interface |
MGroup
An abstract metadata node that represents a group of fields and/or groups.
|
interface |
MIntegerString
Integer field metadata definition.
|
interface |
MRecord
A record metadata definition.
|
interface |
MString
A string metadata field definition.
|
Modifier and Type | Method and Description |
---|---|
MNode |
MetadataFactory.decodeFromXML(String xml)
Parse metadata from XML.
|
MNode |
MGroup.getChild(int index)
Gets the child at a given index.
|
Modifier and Type | Method and Description |
---|---|
List<MNode> |
MGroup.childNodes()
Returns a list of the children of the group.
|
Modifier and Type | Method and Description |
---|---|
B |
MGroup.Builder.add(MNode node)
Add a child node (record or field) with a fixed multiplicity of 1.
|
B |
MGroup.Builder.add(MNode node,
int occurrences)
Add a child node (record or field) with fixed multiplicity.
|
B |
MGroup.Builder.add(MNode node,
int minimum,
int maximum)
Add a child node (record or field) with variable multiplicity.
|
String |
MetadataFactory.encodeAsXML(MNode metadata)
Encode metadata as XML.
|
String |
MetadataFactory.encodeAsXML(MNode metadata,
boolean format)
Encode metadata as XML.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.