|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.kb.oai.ore.impl.SerializerBase
public abstract class SerializerBase
Abstract base class for the different ResourceMapSerializer implementations.
| Constructor Summary | |
|---|---|
SerializerBase()
|
|
| Method Summary | |
|---|---|
void |
serializeToFile(File file,
ResourceMap map)
Serialize the resource map to the given file. |
String |
serializeToString(ResourceMap map)
Serialize the resource map and return it as a String. |
abstract Element |
serializeToXml(ResourceMap map)
Serialize the resource map into XML. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializerBase()
| Method Detail |
|---|
public void serializeToFile(File file,
ResourceMap map)
throws IOException
ResourceMapSerializer
serializeToFile in interface ResourceMapSerializerfile - a filemap - a resource map
IOException
public String serializeToString(ResourceMap map)
throws IOException
ResourceMapSerializerString.
serializeToString in interface ResourceMapSerializermap - a resource map
String with the serialized resource map
IOExceptionpublic abstract Element serializeToXml(ResourceMap map)
ResourceMapSerializer
serializeToXml in interface ResourceMapSerializermap - a resource map
Element containing the result of the serialization
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||