org.obe.xpdl.serializer
Interface XPDLSerializer

All Superinterfaces:
OBENames, W3CNames, XPDLNames
All Known Implementing Classes:
Dom4JXPDLSerializer

public interface XPDLSerializer
extends XPDLNames

Standard interface for classes which can serialize a XPDLPackage to an XPDL document.

Author:
Anthony Eden, Adrian Price

Field Summary
 
Fields inherited from interface org.obe.xpdl.XPDLNames
ACCESS_LEVEL, ACTIVITIES, ACTIVITY, ACTIVITY_SET, ACTIVITY_SETS, ACTUAL_PARAMETER, ACTUAL_PARAMETERS, AND_KIND, APPLICATION, APPLICATION_KIND, APPLICATIONS, ARRAY_KIND, ARRAY_TYPE, ASYNCHR_KIND, AUTHOR, AUTOMATIC, AUTOMATIC_KIND, BASIC_TYPE, BEGIN, BLOCK_NAME, BLOCKACTIVITY, BLOCKID, BOOLEAN_KIND, CODEPAGE, CONDITION, CONDITION_KIND, CONFORMANCE_CLASS, COST, COST_UNIT, COUNTRYKEY, CREATED, DATA_FIELD, DATA_FIELDS, DATA_TYPE, DATETIME_KIND, DEADLINE, DEADLINE_CONDITION, DECLARED_TYPE, DEFAULTEXCEPTION_KIND, DESCRIPTION, DOCUMENTATION, DURATION, DURATION_UNIT, END, ENUMERATION_KIND, ENUMERATION_TYPE, ENUMERATION_VALUE, EXCEPTION_KIND, EXCEPTION_NAME, EXECUTION, EXPIRATION, EXTENDED_ATTRIBUTE, EXTENDED_ATTRIBUTES, EXTERNAL_PACKAGE, EXTERNAL_PACKAGES, EXTERNAL_REFERENCE, EXTERNAL_REFERENCE_KIND, FINISH_MODE, FLOAT_KIND, FORMAL_PARAMETER, FORMAL_PARAMETERS, FROM, FULL_BLOCKED_KIND, GRAMMAR, GRAPH_CONFORMANCE, HREF, HUMAN_KIND, ICON, ID, IMPLEMENTATION, IN_KIND, INDEX, INITIAL_VALUE, INOUT_KIND, INSTANTIATION_TYPE, INTEGER_KIND, IS_ARRAY, JOIN, LENGTH, LIMIT, LIST_KIND, LIST_TYPE, LOCATION, LOOP_BLOCKED_KIND, LOWER_INDEX, MANUAL, MANUAL_KIND, MEMBER, MODE, MULTIPLE_KIND, NAME, NAMESPACE, NO, NON_BLOCKED_KIND, ONCE_KIND, ORGANIZATIONAL_UNIT_KIND, OTHERWISE_KIND, OUT_KIND, PACKAGE, PACKAGE_HEADER, PARTICIPANT, PARTICIPANT_TYPE, PARTICIPANTS, PERFORMER, PERFORMER_KIND, PLAIN_TYPE, PRIORITY, PRIORITY_UNIT, PRIVATE_KIND, PROCEDURE_KIND, PROCESS_HEADER, PUBLIC_KIND, PUBLICATION_STATUS, RECORD_TYPE, REDEFINABLE_HEADER, REFERENCE_KIND, RELEASED_KIND, RESOURCE_KIND, RESOURCE_SET_KIND, RESPONSIBLE, RESPONSIBLES, ROLE_KIND, ROUTE, SCHEMA_KIND, SCHEMA_TYPE, SCRIPT, SIMULATION_INFORMATION, SPLIT, START_MODE, STRING_KIND, SUBFLOW, SYNCHR_KIND, SYSTEM_KIND, TIME_ESTIMATION, TO, TOOL, TRANSITION, TRANSITION_REFERENCE, TRANSITION_REFERENCES, TRANSITION_RESTRICTION, TRANSITION_RESTRICTIONS, TRANSITIONS, TYPE, TYPE_DECLARATION, TYPE_DECLARATIONS, UNDER_REVISION_KIND, UNDER_TEST_KIND, UNION_KIND, UNION_TYPE, UPPER_INDEX, VALID_FROM, VALID_TO, VALUE, VENDOR, VERSION, WAITING_TIME, WORKFLOW_PROCESS, WORKFLOW_PROCESSES, WORKING_TIME, XOR_KIND, XPDL_NS_PREFIX, XPDL_NS_URI, XPDL_SCHEMA_LOCATION, XPDL_VERSION, XPRESSION, XREF
 
Fields inherited from interface org.obe.xpdl.OBENames
ASSIGNMENT_STRATEGY, BOUNDS, CALENDAR, COUNT, EVENT, EXPAND_GROUPS, FOR_EACH, HEIGHT, IN, INTERVAL, LOOP, META_DATA, NORMAL_KIND, OBE, OBE_APIDOC_URL, OBE_ASSIGNMENT_STRATEGY, OBE_AUTHOR, OBE_BOUNDS, OBE_CALENDAR, OBE_COMPLETION_STRATEGY, OBE_EVENT, OBE_FORK, OBE_LOOP, OBE_META_DATA, OBE_NAME, OBE_NS_PREFIX, OBE_NS_URI, OBE_SCRIPT, OBE_TARGET, OBE_TIMER, OBE_TOOL_MODE, OBE_URL, OBE_VERSION, OVERDUE_KIND, PARALLEL_KIND, PREDICATE, RECOVERABLE, SEQUENTIAL_KIND, TIMER, UNDEFINED_KIND, UNTIL, WARNING_KIND, WHILE, WIDTH, X, Y
 
Fields inherited from interface org.obe.util.W3CNames
SOAP_NS_PREFIX, SOAP_NS_URI, SOAPBIND_NS_PREFIX, SOAPBIND_NS_URI, SOAPENC_NS_PREFIX, SOAPENC_NS_URI, UDDI_NS_PREFIX, UDDI_NS_URI, WSDL_NS_PREFIX, WSDL_NS_URI, WSI_NS_PREFIX, WSI_NS_URI, XML_NS_PREFIX, XML_NS_URI, XMLNS_NS_PREFIX, XMLNS_NS_URI, XSD_NS_PREFIX, XSD_NS_URI, XSD_SCHEMA, XSI_NO_NS_SCHEMA_LOCATION, XSI_NS_PREFIX, XSI_SCHEMA_LOCATION, XSI_URI, XSL_NS_PREFIX, XSL_URI
 
Method Summary
 void serialize(XPDLPackage pkg, java.io.OutputStream out)
          Serialize the package to the given output stream.
 void serialize(XPDLPackage pkg, java.io.Writer out)
          Serialize the package to the given writer.
 

Method Detail

serialize

public void serialize(XPDLPackage pkg,
                      java.io.OutputStream out)
               throws java.io.IOException,
                      XPDLSerializerException
Serialize the package to the given output stream.

Parameters:
pkg - The Package
out - The OutputStream
Throws:
java.io.IOException - Any I/O exception
XPDLSerializerException - Any serializer Exception

serialize

public void serialize(XPDLPackage pkg,
                      java.io.Writer out)
               throws java.io.IOException,
                      XPDLSerializerException
Serialize the package to the given writer.

Parameters:
pkg - The Package
out - The Writer
Throws:
java.io.IOException - Any I/O exception
XPDLSerializerException - Any serializer Exception


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.