org.fedoracommons.funapi
Class FormatsSerializer
java.lang.Object
org.fedoracommons.funapi.FormatsSerializer
public class FormatsSerializer
- extends java.lang.Object
Provides an UnAPI formats serialization. The serialization format is given
by the following Relax-NG schema:
element formats {
attribute id { text }?,
element format {
attribute name { text },
attribute type { text },
attribute docs { text }?,
}*
}
- Since:
- 0.1
- Version:
- $Id: FormatsSerializer.java 33 2008-10-25 19:31:36Z pangloss $
- Author:
- Edwin Shin
- See Also:
- unAPI Specs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatsSerializer
public FormatsSerializer()
throws UnapiException
- Throws:
UnapiException
serialize
public void serialize(UnapiFormats formats,
java.io.OutputStream out)
throws UnapiException
- Throws:
UnapiException
toDocument
public org.w3c.dom.Document toDocument(UnapiFormats formats)
toString
public java.lang.String toString(UnapiFormats formats)
throws UnapiException
- Throws:
UnapiException
Copyright © 2008 Fedora Commons, Inc.. All Rights Reserved.