public class RecordFactory extends Object
| Constructor and Description |
|---|
RecordFactory() |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
createRecord(Attributes dataset,
Attributes fmi,
String[] fileIDs) |
Attributes |
createRecord(RecordType type,
String privRecUID,
Attributes dataset,
Attributes fmi,
String[] fileIDs) |
String |
getPrivateRecordUID(String cuid) |
int[] |
getRecordKeys(RecordType type) |
RecordType |
getRecordType(String cuid) |
void |
loadConfiguration(String uri) |
void |
loadDefaultConfiguration() |
int[] |
setPrivateRecordKeys(String uid,
int[] keys) |
String |
setPrivateRecordUID(String cuid,
String uid) |
void |
setRecordKeys(RecordType type,
int[] keys) |
RecordType |
setRecordType(String cuid,
RecordType type) |
public void loadDefaultConfiguration()
public void loadConfiguration(String uri) throws ParserConfigurationException, SAXException, IOException
public RecordType getRecordType(String cuid)
public RecordType setRecordType(String cuid, RecordType type)
public void setRecordKeys(RecordType type, int[] keys)
public int[] getRecordKeys(RecordType type)
public int[] setPrivateRecordKeys(String uid, int[] keys)
public Attributes createRecord(Attributes dataset, Attributes fmi, String[] fileIDs)
public Attributes createRecord(RecordType type, String privRecUID, Attributes dataset, Attributes fmi, String[] fileIDs)
Copyright © 2021. All rights reserved.