|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deckfour.xes.out.XMxmlSerializer
public class XMxmlSerializer
MXML serialization for XES data (legacy implementation). Note that this serialization may be lossy, you should preferrably use the XES.XML serialization for XES data.
Field Summary | |
---|---|
protected HashSet<String> |
knownTypes
Stores known event types internally for MXML. |
protected XsDateTimeConversion |
xsDateTimeConversion
|
Constructor Summary | |
---|---|
XMxmlSerializer()
|
Method Summary | |
---|---|
protected void |
addAttributes(SXTag node,
Collection<XAttribute> attributes)
Helper method, adds attributes to a tag. |
protected void |
addAttributes(SXTag dataNode,
String keyPrefix,
Collection<XAttribute> attributes)
Helper method, adds attributes to a tag. |
protected void |
addModelReference(XAttributable object,
SXTag target)
Helper method, adds all model references of an attributable to the given tag. |
String |
getAuthor()
Returns the name of this serialization's author. |
String |
getDescription()
Returns a brief description of this serialization. |
String |
getName()
Returns the human-readable name of this serialization. |
String[] |
getSuffices()
Returns an array of possible file suffices for this serialization. |
void |
serialize(XLog log,
OutputStream out)
Serializes a given log to the given output stream. |
String |
toString()
toString() defaults to getName(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected HashSet<String> knownTypes
protected XsDateTimeConversion xsDateTimeConversion
Constructor Detail |
---|
public XMxmlSerializer()
Method Detail |
---|
public String getDescription()
XSerializer
getDescription
in interface XSerializer
public String getName()
XSerializer
getName
in interface XSerializer
public String getAuthor()
XSerializer
getAuthor
in interface XSerializer
public String[] getSuffices()
XSerializer
getSuffices
in interface XSerializer
public void serialize(XLog log, OutputStream out) throws IOException
XSerializer
serialize
in interface XSerializer
log
- Log to be serialized.out
- OutputStream for serialization.
IOException
protected void addAttributes(SXTag node, Collection<XAttribute> attributes) throws IOException
node
- The tag to add attributes to.attributes
- The attributes to add.
IOException
protected void addAttributes(SXTag dataNode, String keyPrefix, Collection<XAttribute> attributes) throws IOException
dataNode
- The tag to add attributes to.keyPrefix
- the Key prefix of attributes.attributes
- The attributes to add.
IOException
protected void addModelReference(XAttributable object, SXTag target) throws IOException
object
- Attributable element.target
- Tag to add model references to.
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |