|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bigllc.retsiq.metadata.MetadataModel
public class MetadataModel
Utility wrapper for metadata. This can also be used as a singleton although it now encouraged that it isn't.
| Constructor Summary | |
|---|---|
MetadataModel()
|
|
| Method Summary | |
|---|---|
void |
addChangeListener(MetadataChangeListener l)
|
static MetadataModel |
getInstance()
Get the singleton instance of MetadataModel |
boolean |
getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
java.io.OutputStream out)
Deprecated. |
boolean |
getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
java.io.OutputStream out,
MetadataFilter filter)
Deprecated. |
boolean |
getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
com.bigllc.retsiq.api.RETSConstants.Version version,
boolean strict,
MetadataFilter filter,
java.io.OutputStream out)
Output the metadata to a stream. |
boolean |
getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
com.bigllc.retsiq.api.RETSConstants.Version version,
java.io.OutputStream out)
Output the metadata to a stream. |
MetadataSystem |
getSystem()
|
boolean |
isValidId(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id)
|
void |
load(java.io.File source)
|
void |
load(MetadataSource source)
|
void |
removeChangeListener(MetadataChangeListener l)
|
static void |
resetInstance()
Change the singleton instance to a new instance of MetadataModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataModel()
| Method Detail |
|---|
public static MetadataModel getInstance()
public static void resetInstance()
public MetadataSystem getSystem()
public void addChangeListener(MetadataChangeListener l)
public void removeChangeListener(MetadataChangeListener l)
public void load(MetadataSource source)
public void load(java.io.File source)
@Deprecated
public boolean getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
java.io.OutputStream out)
type - the metadata type as the root nodeid - the identifier for the metadata nodeformat - the format to output asout - the output stream to write to
@Deprecated
public boolean getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
java.io.OutputStream out,
MetadataFilter filter)
type - the metadata type as the root nodeid - the identifier for the metadata nodeformat - the format to output asout - the output stream to write tofilter - a filter to be applied to the metadata or null
public boolean getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
com.bigllc.retsiq.api.RETSConstants.Version version,
java.io.OutputStream out)
type - the metadata type as the root nodeid - the identifier for the metadata nodeformat - the format to output asversion - the version of metadata to writeout - the output stream to write to
public boolean getMetadata(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id,
com.bigllc.retsiq.api.RETSConstants.MetadataFormat format,
com.bigllc.retsiq.api.RETSConstants.Version version,
boolean strict,
MetadataFilter filter,
java.io.OutputStream out)
type - the metadata type as the root nodeid - the identifier for the metadata nodeformat - the format to output asversion - the version of metadata to writefilter - a filter to be applied to the metadata or nullout - the output stream to write to
public boolean isValidId(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||