Package org.deckfour.xes.factory
Class XFactoryBufferedImpl
- java.lang.Object
-
- org.deckfour.xes.factory.XFactoryNaiveImpl
-
- org.deckfour.xes.factory.XFactoryBufferedImpl
-
- All Implemented Interfaces:
XFactory
public class XFactoryBufferedImpl extends XFactoryNaiveImpl
This factory will create buffered implementations of all model hierarchy elements wherever possible, i.e., the latest optimizations available in OpenXES will be employed.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Constructor Summary
Constructors Constructor Description XFactoryBufferedImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XAttributeMapcreateAttributeMap()Creates a new XES attribute map (Factory method).XLogcreateLog()Creates a new XES log instance (Factory method).XTracecreateTrace()Creates a new XES trace instance (Factory method).XTracecreateTrace(XAttributeMap attributes)Creates a new XES trace instance (Factory method).java.lang.StringgetAuthor()Returns the author name of the specific factory implementation.java.lang.StringgetDescription()Returns a description of the specific factory implementation.java.lang.StringgetName()Returns the name of the specific factory implementation.java.net.URIgetUri()Returns an URI, pointing to more information about the specific factory implementation.java.lang.StringgetVendor()Returns the vendor of the specific factory implementation.-
Methods inherited from class org.deckfour.xes.factory.XFactoryNaiveImpl
createAttributeBoolean, createAttributeContainer, createAttributeContinuous, createAttributeDiscrete, createAttributeID, createAttributeList, createAttributeLiteral, createAttributeTimestamp, createAttributeTimestamp, createEvent, createEvent, createEvent, createLog, isUseInterner, setUseInterner
-
-
-
-
Method Detail
-
getAuthor
public java.lang.String getAuthor()
Description copied from interface:XFactoryReturns the author name of the specific factory implementation.- Specified by:
getAuthorin interfaceXFactory- Overrides:
getAuthorin classXFactoryNaiveImpl
-
getDescription
public java.lang.String getDescription()
Description copied from interface:XFactoryReturns a description of the specific factory implementation.- Specified by:
getDescriptionin interfaceXFactory- Overrides:
getDescriptionin classXFactoryNaiveImpl
-
getName
public java.lang.String getName()
Description copied from interface:XFactoryReturns the name of the specific factory implementation.- Specified by:
getNamein interfaceXFactory- Overrides:
getNamein classXFactoryNaiveImpl
-
getUri
public java.net.URI getUri()
Description copied from interface:XFactoryReturns an URI, pointing to more information about the specific factory implementation.- Specified by:
getUriin interfaceXFactory- Overrides:
getUriin classXFactoryNaiveImpl
-
getVendor
public java.lang.String getVendor()
Description copied from interface:XFactoryReturns the vendor of the specific factory implementation.- Specified by:
getVendorin interfaceXFactory- Overrides:
getVendorin classXFactoryNaiveImpl
-
createAttributeMap
public XAttributeMap createAttributeMap()
Description copied from interface:XFactoryCreates a new XES attribute map (Factory method).- Specified by:
createAttributeMapin interfaceXFactory- Overrides:
createAttributeMapin classXFactoryNaiveImpl- Returns:
- A new XES attribute map instance.
-
createLog
public XLog createLog()
Description copied from interface:XFactoryCreates a new XES log instance (Factory method).- Specified by:
createLogin interfaceXFactory- Overrides:
createLogin classXFactoryNaiveImpl- Returns:
- A new log instance.
-
createTrace
public XTrace createTrace()
Description copied from interface:XFactoryCreates a new XES trace instance (Factory method).- Specified by:
createTracein interfaceXFactory- Overrides:
createTracein classXFactoryNaiveImpl- Returns:
- A new trace instance.
-
createTrace
public XTrace createTrace(XAttributeMap attributes)
Description copied from interface:XFactoryCreates a new XES trace instance (Factory method).- Specified by:
createTracein interfaceXFactory- Overrides:
createTracein classXFactoryNaiveImpl- Parameters:
attributes- The attributes of the trace.- Returns:
- A new trace instance.
-
-