com.bloxbean.cardano.client.metadata.MetadataBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cardano-client-metadata Show documentation
Show all versions of cardano-client-metadata Show documentation
Cardano Client Lib - Metadata Core Apis
The newest version!
package com.bloxbean.cardano.client.metadata;
import com.bloxbean.cardano.client.metadata.cbor.CBORMetadata;
import com.bloxbean.cardano.client.metadata.cbor.CBORMetadataList;
import com.bloxbean.cardano.client.metadata.cbor.CBORMetadataMap;
/**
* Builder class to create Metadata, MetadataMap and MetadataList
*/
public class MetadataBuilder {
/**
* Create Metadata object
* @return Metadata
*/
public static Metadata createMetadata() {
return new CBORMetadata();
}
/**
* Create MetadataMap object
* @return MetadataMap
*/
public static MetadataMap createMap() {
return new CBORMetadataMap();
}
/**
* Create MetadataList object
* @return MetadataList
*/
public static MetadataList createList() {
return new CBORMetadataList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy