|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deckfour.xes.out.XesXmlSerializer
public class XesXmlSerializer
XES plain XML serialization for the XES format.
Field Summary | |
---|---|
protected XsDateTimeConversion |
xsDateTimeConversion
|
Constructor Summary | |
---|---|
XesXmlSerializer()
|
Method Summary | |
---|---|
protected void |
addAttributes(SXTag tag,
Collection<XAttribute> attributes)
Helper method, adds the given collection of attributes to the given Tag. |
protected void |
addGlobalAttributes(SXTag parent,
String scope,
List<XAttribute> attributes)
Helper method for defining global attributes on a given scope. |
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 XsDateTimeConversion xsDateTimeConversion
Constructor Detail |
---|
public XesXmlSerializer()
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 addGlobalAttributes(SXTag parent, String scope, List<XAttribute> attributes) throws IOException
IOException
protected void addAttributes(SXTag tag, Collection<XAttribute> attributes) throws IOException
tag
- Tag to add attributes to.attributes
- The attributes to add.
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |