Java Doc for Dom4JXPDLParser.java in  » Workflow-Engines » obe-1.0 » org » obe » xpdl » parser » dom4j » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » obe 1.0 » org.obe.xpdl.parser.dom4j 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.obe.xpdl.parser.dom4j.Dom4JXPDLParser

Dom4JXPDLParser
public class Dom4JXPDLParser implements XPDLParser,DOM4JNames(Code)
An implementation of the XPDLParser interface, using DOM4J.
author:
   Anthony Eden
author:
   Adrian Price



Constructor Summary
public  Dom4JXPDLParser()
     Construct a new Dom4JXPDLParser.
public  Dom4JXPDLParser(EntityResolver entityResolver)
    

Method Summary
protected  ActivitycreateActivity(XPDLPackage pkg, WorkflowProcess wp, Element element)
    
protected  ActivitySetcreateActivitySet(XPDLPackage pkg, WorkflowProcess wp, Element element)
    
protected  ActualParametercreateActualParameter(Element element)
    
protected  ApplicationcreateApplication(ResourceContainer resCntr, Element element)
    
protected  AssignmentStrategyDefcreateAssignmentStrategy(Element element)
    
protected  BlockActivitycreateBlockActivity(Element element)
    
protected  RectanglecreateBounds(Element boundsElement)
    
public  ConditioncreateCondition(Element element)
    
protected  ConformanceClasscreateConformanceClass(Element element)
     Create a ConformanceClass object from the given element.
protected  DataFieldcreateDataField(ResourceContainer resCntr, Element element)
    
protected  DataTypecreateDataType(ResourceContainer resCntr, Element element)
    
protected  DeadlinecreateDeadline(Element element)
     Create a Deadline object from the given Element.
protected  EventcreateEvent(Element eventElement)
    
protected  voidcreateExternalPackage(XPDLPackage pkg, Element element)
    
protected  ExternalReferencecreateExternalReference(Element element)
     Create an ExternalReference object from the given Element.
protected  ForEachcreateForEach(Element element)
    
protected  FormalParametercreateFormalParameter(ResourceContainer resCntr, Element element)
    
protected  ImplementationcreateImplementation(XPDLPackage pkg, Element element)
    
public  JoincreateJoin(Element element)
    
protected  LoopcreateLoop(Element element)
    
protected  PackageHeadercreatePackageHeader(Element element)
     Create the package header from the given element.
protected  ParticipantcreateParticipant(Element element)
    
protected  ProcessHeadercreateProcessHeader(Element element)
    
protected  RedefinableHeadercreateRedefinableHeader(Element element)
    
protected  RoutecreateRoute()
    
protected  SchemaTypecreateSchemaType(Element typeElement)
    
protected  ScriptcreateScript(Element element)
     Create a Script object from the given Element.
protected  SimulationInformationcreateSimulationInformation(Element element)
    
public  SplitcreateSplit(Element element)
    
protected  SubFlowcreateSubFlow(Element element)
    
protected  TimeEstimationcreateTimeEstimation(Element element)
     Create a TimeEstimation object.
protected  TimercreateTimer(Element timerElement)
    
protected  ToolcreateTool(XPDLPackage pkg, Element element)
    
protected  TransitioncreateTransition(XPDLPackage pkg, Element element)
    
protected  TransitionRestrictioncreateTransitionRestriction(Element element)
    
protected  TypecreateType(ResourceContainer resCntr, Element parent)
    
protected  TypeDeclarationcreateTypeDeclaration(XPDLPackage pkg, Element element)
    
protected  UntilcreateUntil(Element element)
    
protected  WhilecreateWhile(Element element)
    
protected  WorkflowProcesscreateWorkflowProcess(XPDLPackage pkg, Element element)
    
protected  voidloadActivities(XPDLPackage pkg, WorkflowProcess wp, Graph graph, Element element)
     Load actvities from the given Element.
protected  voidloadActivities(XPDLPackage pkg, WorkflowProcess wp, Graph graph, List elements)
     Load the activity objects from the given list of "Activity" elements.
protected  voidloadActivitySets(XPDLPackage pkg, WorkflowProcess wp, Element element)
     Load activity sets from the given Element.
protected  voidloadActivitySets(XPDLPackage pkg, WorkflowProcess wp, List elements)
     Load the activity set objects from the given list of "ActivitySet" elements.
protected  voidloadActualParameters(Invocation invocation, Element element)
     Load actual parameters from the given Element.
protected  voidloadActualParameters(Invocation invocation, List elements)
     Load the actual parameters objects from the given list of "ActualParameter" elements.
protected  voidloadApplications(ResourceContainer resCntr, Element element)
     Load applications from the given Element.
protected  voidloadApplications(ResourceContainer resCntr, List elements)
     Load the applications objects from the given list of "Application" elements.
protected  voidloadDataFields(ResourceContainer resCntr, Element element)
     Load data fields from the given Element.
protected  voidloadDataFields(ResourceContainer resCntr, List elements)
     Load the data field objects from the given list of "DataField" elements.
protected  voidloadDeadlines(Activity activity, List elements)
    
protected  voidloadEnumerationValues(List elements, EnumerationType type)
    
protected  ExtendedAttributesloadExtendedAttributes(ResourceContainer resCntr, Element parent)
     Load extended attributes from the given parent.
protected  ExtendedAttributesloadExtendedAttributes(Element parent, Map obeExtAttrMap)
     Load extended attributes from the given parent.
protected  voidloadExternalPackages(XPDLPackage pkg, Element element)
    
protected  voidloadExternalPackages(XPDLPackage pkg, List elements)
    
protected  voidloadFormalParameters(ResourceContainer resCntr, Invokable invokable, Element element)
     Load formal parameters from the given Element.
protected  voidloadFormalParameters(ResourceContainer resCntr, Invokable invokable, List elements)
     Load the formal parameters objects from the given list of "FormalParameter" elements.
protected  voidloadMembers(ResourceContainer resCntr, List elements, ComplexType complexType)
    
protected  voidloadParticipants(ResourceContainer resCntr, Element element)
     Load participants from the given Element.
protected  voidloadParticipants(ResourceContainer resCntr, List elements)
     Load the participant objects from the given list of "Participant" elements.
protected  voidloadResponsibles(RedefinableHeader header, Element element)
    
protected  voidloadResponsibles(RedefinableHeader header, List elements)
    
protected  voidloadTransitionReferences(Split split, Element element)
     Load transition references from the given Element.
protected  voidloadTransitionReferences(Split split, List elements)
     Load the transition references objects from the given list of "TransitionRef" elements.
protected  voidloadTransitionRestrictions(Activity activity, Element element)
     Load transition restrictions from the given Element.
protected  voidloadTransitionRestrictions(Activity activity, List elements)
     Load the transition restriction objects from the given list of "TransitionRestriction" elements.
protected  voidloadTransitions(XPDLPackage pkg, Graph graph, Element element)
     Load transitions from the given Element.
protected  voidloadTransitions(XPDLPackage pkg, Graph graph, List elements)
     Load the transition objects from the given list of "Transition" elements.
protected  voidloadTypeDeclarations(XPDLPackage pkg, Element element)
     Load type declarations from the given Element.
protected  voidloadTypeDeclarations(XPDLPackage pkg, List elements)
     Load the type declaration objects from the given list of "TypeDeclaration" elements.
protected  voidloadWorkflowProcesses(XPDLPackage pkg, Element element)
     Load workflow processes from the given Element.
protected  voidloadWorkflowProcesses(XPDLPackage pkg, List elements)
     Load the workflow process objects from the given list of "WorkflowProcess" elements.
public  XPDLPackageparse(InputStream in)
    
public  XPDLPackageparse(Reader in)
     Parse the XPDL document which is provided by the given InputStream.
protected  IntegerparseIntAttribute(Element element, String attribute)
    


Constructor Detail
Dom4JXPDLParser
public Dom4JXPDLParser()(Code)
Construct a new Dom4JXPDLParser.



Dom4JXPDLParser
public Dom4JXPDLParser(EntityResolver entityResolver)(Code)




Method Detail
createActivity
protected Activity createActivity(XPDLPackage pkg, WorkflowProcess wp, Element element) throws XPDLParserException, PropertyVetoException(Code)



createActivitySet
protected ActivitySet createActivitySet(XPDLPackage pkg, WorkflowProcess wp, Element element) throws XPDLParserException, PropertyVetoException(Code)



createActualParameter
protected ActualParameter createActualParameter(Element element) throws XPDLParserException(Code)



createApplication
protected Application createApplication(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)



createAssignmentStrategy
protected AssignmentStrategyDef createAssignmentStrategy(Element element) throws XPDLParserException(Code)



createBlockActivity
protected BlockActivity createBlockActivity(Element element)(Code)



createBounds
protected Rectangle createBounds(Element boundsElement)(Code)



createCondition
public Condition createCondition(Element element) throws PropertyVetoException(Code)



createConformanceClass
protected ConformanceClass createConformanceClass(Element element) throws XPDLParserException(Code)
Create a ConformanceClass object from the given element.
Parameters:
  element - The ConformanceClass element
throws:
  XPDLParserException - Any parser exception



createDataField
protected DataField createDataField(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)



createDataType
protected DataType createDataType(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)



createDeadline
protected Deadline createDeadline(Element element) throws XPDLParserException(Code)
Create a Deadline object from the given Element.
Parameters:
  element - The Element the Deadline object
throws:
  XPDLParserException -



createEvent
protected Event createEvent(Element eventElement) throws XPDLParserException, PropertyVetoException(Code)



createExternalPackage
protected void createExternalPackage(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



createExternalReference
protected ExternalReference createExternalReference(Element element) throws XPDLParserException(Code)
Create an ExternalReference object from the given Element.
Parameters:
  element - The "ExternalReference" element The ExternalReference object
throws:
  XPDLParserException -



createForEach
protected ForEach createForEach(Element element) throws XPDLParserException(Code)



createFormalParameter
protected FormalParameter createFormalParameter(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)



createImplementation
protected Implementation createImplementation(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



createJoin
public Join createJoin(Element element)(Code)



createLoop
protected Loop createLoop(Element element) throws XPDLParserException, PropertyVetoException(Code)



createPackageHeader
protected PackageHeader createPackageHeader(Element element) throws XPDLParserException(Code)
Create the package header from the given element. This method will throw an XPDLParserException if the XPDLPackage header element is null.
Parameters:
  element - The package header element
throws:
  XPDLParserException - Thrown if the element is null



createParticipant
protected Participant createParticipant(Element element) throws XPDLParserException, PropertyVetoException(Code)



createProcessHeader
protected ProcessHeader createProcessHeader(Element element) throws XPDLParserException(Code)



createRedefinableHeader
protected RedefinableHeader createRedefinableHeader(Element element) throws XPDLParserException, PropertyVetoException(Code)



createRoute
protected Route createRoute()(Code)



createSchemaType
protected SchemaType createSchemaType(Element typeElement) throws XPDLParserException(Code)



createScript
protected Script createScript(Element element) throws XPDLParserException(Code)
Create a Script object from the given Element.
Parameters:
  element - The Element the Script object
throws:
  XPDLParserException -



createSimulationInformation
protected SimulationInformation createSimulationInformation(Element element) throws XPDLParserException(Code)



createSplit
public Split createSplit(Element element) throws XPDLParserException, PropertyVetoException(Code)



createSubFlow
protected SubFlow createSubFlow(Element element) throws XPDLParserException, PropertyVetoException(Code)



createTimeEstimation
protected TimeEstimation createTimeEstimation(Element element) throws XPDLParserException(Code)
Create a TimeEstimation object.
Parameters:
  element - The TimeEstimation Element The TimeEstimation object
throws:
  XPDLParserException - Parse error



createTimer
protected Timer createTimer(Element timerElement) throws XPDLParserException, PropertyVetoException(Code)



createTool
protected Tool createTool(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



createTransition
protected Transition createTransition(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



createTransitionRestriction
protected TransitionRestriction createTransitionRestriction(Element element) throws XPDLParserException, PropertyVetoException(Code)



createType
protected Type createType(ResourceContainer resCntr, Element parent) throws XPDLParserException, PropertyVetoException(Code)



createTypeDeclaration
protected TypeDeclaration createTypeDeclaration(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



createUntil
protected Until createUntil(Element element) throws XPDLParserException, PropertyVetoException(Code)



createWhile
protected While createWhile(Element element) throws XPDLParserException, PropertyVetoException(Code)



createWorkflowProcess
protected WorkflowProcess createWorkflowProcess(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



loadActivities
protected void loadActivities(XPDLPackage pkg, WorkflowProcess wp, Graph graph, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load actvities from the given Element. The element should represent a collection of activities (which is identified by the "Activities" tag).
Parameters:
  pkg -
Parameters:
  graph - The list of activities
Parameters:
  element - The "Activities" element
throws:
  XPDLParserException -



loadActivities
protected void loadActivities(XPDLPackage pkg, WorkflowProcess wp, Graph graph, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the activity objects from the given list of "Activity" elements.
Parameters:
  pkg -
Parameters:
  graph - The list of activites
Parameters:
  elements - The list of "Activity" elements
throws:
  XPDLParserException -



loadActivitySets
protected void loadActivitySets(XPDLPackage pkg, WorkflowProcess wp, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load activity sets from the given Element. The element should represent a collection of activity sets (which is identified by the "ActivitySets" tag).
Parameters:
  pkg -
Parameters:
  element - The "ActivitySets" element
throws:
  XPDLParserException -



loadActivitySets
protected void loadActivitySets(XPDLPackage pkg, WorkflowProcess wp, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the activity set objects from the given list of "ActivitySet" elements.
Parameters:
  pkg -
Parameters:
  elements - The list of "Activity" elements
throws:
  XPDLParserException -



loadActualParameters
protected void loadActualParameters(Invocation invocation, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load actual parameters from the given Element. The element should represent a collection of actual parameters (which is identified by the "ActualParameters" tag).
Parameters:
  invocation - The list of actual parameters
Parameters:
  element - The "ActualParameters" element
throws:
  XPDLParserException -



loadActualParameters
protected void loadActualParameters(Invocation invocation, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the actual parameters objects from the given list of "ActualParameter" elements.
Parameters:
  invocation - The list of actual parameters
Parameters:
  elements - The list of "ActualParameter" elements
throws:
  XPDLParserException -



loadApplications
protected void loadApplications(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load applications from the given Element. The element should represent a collection of applications (which is identified by the "Applications" tag).
Parameters:
  resCntr -
Parameters:
  element - The "Applications" element
throws:
  XPDLParserException -



loadApplications
protected void loadApplications(ResourceContainer resCntr, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the applications objects from the given list of "Application" elements.
Parameters:
  resCntr -
Parameters:
  elements - The list of "Application" elements
throws:
  XPDLParserException -



loadDataFields
protected void loadDataFields(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load data fields from the given Element. The element should represent a collection of data fields (which is identified by the "DataFields" tag).
Parameters:
  resCntr -
Parameters:
  element - The "DataFields" element
throws:
  XPDLParserException -



loadDataFields
protected void loadDataFields(ResourceContainer resCntr, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the data field objects from the given list of "DataField" elements.
Parameters:
  resCntr -
Parameters:
  elements - The list of "DataField" elements
throws:
  XPDLParserException -



loadDeadlines
protected void loadDeadlines(Activity activity, List elements) throws XPDLParserException, PropertyVetoException(Code)



loadEnumerationValues
protected void loadEnumerationValues(List elements, EnumerationType type) throws XPDLParserException, PropertyVetoException(Code)



loadExtendedAttributes
protected ExtendedAttributes loadExtendedAttributes(ResourceContainer resCntr, Element parent) throws XPDLParserException, PropertyVetoException(Code)
Load extended attributes from the given parent. If the element has a child <ExtendedAttributes> element, the latter's child <ExtendedAttribute> elements recognized by OBE are parsed into the extendedAttributes map and removed from their parent. Any remaining 3rd party elements are detached and added to a new document, which becomes the method's return value.
Parameters:
  resCntr -
Parameters:
  parent - The parent element. A DOM document containing any 3rd party attributes (can benull).
throws:
  XPDLParserException -



loadExtendedAttributes
protected ExtendedAttributes loadExtendedAttributes(Element parent, Map obeExtAttrMap) throws XPDLParserException, PropertyVetoException(Code)
Load extended attributes from the given parent. If the element has a child <ExtendedAttributes> element, the latter's child <ExtendedAttribute> elements recognized by OBE are parsed into the extendedAttributes map and removed from their parent. Any remaining 3rd party elements are detached and added to a new document, which becomes the method's return value.
Parameters:
  parent - The parent element.
Parameters:
  obeExtAttrMap - Map of parsed OBE extended attributes. A DOM document containing any 3rd party attributes (can benull).
throws:
  XPDLParserException -



loadExternalPackages
protected void loadExternalPackages(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)



loadExternalPackages
protected void loadExternalPackages(XPDLPackage pkg, List elements) throws XPDLParserException, PropertyVetoException(Code)



loadFormalParameters
protected void loadFormalParameters(ResourceContainer resCntr, Invokable invokable, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load formal parameters from the given Element. The element should represent a collection of formal parameters (which is identified by the "FormalParameters" tag).
Parameters:
  resCntr -
Parameters:
  invokable - The list of formal parameters
Parameters:
  element - The "FormalParameters" element
throws:
  XPDLParserException -



loadFormalParameters
protected void loadFormalParameters(ResourceContainer resCntr, Invokable invokable, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the formal parameters objects from the given list of "FormalParameter" elements.
Parameters:
  resCntr -
Parameters:
  invokable - The list of formal parameters
Parameters:
  elements - The list of "FormalParameter" elements
throws:
  XPDLParserException -



loadMembers
protected void loadMembers(ResourceContainer resCntr, List elements, ComplexType complexType) throws XPDLParserException, PropertyVetoException(Code)



loadParticipants
protected void loadParticipants(ResourceContainer resCntr, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load participants from the given Element. The element should represent a collection of participants (which is identified by the "Participants" tag).
Parameters:
  resCntr -
Parameters:
  element - The "Participants" element
throws:
  XPDLParserException -



loadParticipants
protected void loadParticipants(ResourceContainer resCntr, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the participant objects from the given list of "Participant" elements.
Parameters:
  resCntr -
Parameters:
  elements - The list of "Participant" elements
throws:
  XPDLParserException -



loadResponsibles
protected void loadResponsibles(RedefinableHeader header, Element element) throws PropertyVetoException(Code)



loadResponsibles
protected void loadResponsibles(RedefinableHeader header, List elements) throws PropertyVetoException(Code)



loadTransitionReferences
protected void loadTransitionReferences(Split split, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load transition references from the given Element. The element should represent a collection of transition references (which is identified by the "TransitionRefs" tag).
Parameters:
  split - The list of transition references
Parameters:
  element - The "TransitionRefs" element
throws:
  XPDLParserException -



loadTransitionReferences
protected void loadTransitionReferences(Split split, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the transition references objects from the given list of "TransitionRef" elements.
Parameters:
  split - The list of transition references
Parameters:
  elements - The list of "TransitionRef" elements
throws:
  XPDLParserException -



loadTransitionRestrictions
protected void loadTransitionRestrictions(Activity activity, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load transition restrictions from the given Element. The element should represent a collection of transition restrictions (which is identified by the "TransitionRestrictions" tag).
Parameters:
  activity - The list of transition restrictions
Parameters:
  element - The "TransitionRestrictions" element
throws:
  XPDLParserException -



loadTransitionRestrictions
protected void loadTransitionRestrictions(Activity activity, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the transition restriction objects from the given list of "TransitionRestriction" elements.
Parameters:
  activity - The list of transition restriction
Parameters:
  elements - The list of "TransitionRestriction" elements
throws:
  XPDLParserException -



loadTransitions
protected void loadTransitions(XPDLPackage pkg, Graph graph, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load transitions from the given Element. The element should represent a collection of transitions (which is identified by the "Transitions" tag).
Parameters:
  pkg -
Parameters:
  graph - The list of transitions
Parameters:
  element - The "Transitions" element
throws:
  XPDLParserException -



loadTransitions
protected void loadTransitions(XPDLPackage pkg, Graph graph, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the transition objects from the given list of "Transition" elements.
Parameters:
  pkg -
Parameters:
  graph - The list of transitions
Parameters:
  elements - The list of "Transition" elements
throws:
  XPDLParserException -



loadTypeDeclarations
protected void loadTypeDeclarations(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load type declarations from the given Element. The element should represent a collection of type declarations (which is identified by the "TypeDeclarations" tag).
Parameters:
  pkg -
Parameters:
  element - The "TypeDeclarations" element
throws:
  XPDLParserException -



loadTypeDeclarations
protected void loadTypeDeclarations(XPDLPackage pkg, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the type declaration objects from the given list of "TypeDeclaration" elements.
Parameters:
  pkg -
Parameters:
  elements - The list of "TypeDeclaration" elements
throws:
  XPDLParserException -



loadWorkflowProcesses
protected void loadWorkflowProcesses(XPDLPackage pkg, Element element) throws XPDLParserException, PropertyVetoException(Code)
Load workflow processes from the given Element. The element should represent a collection of workflow process (which is identified by the "WorkflowProcesses" tag).
Parameters:
  element - The "WorkflowProcesses" element
throws:
  XPDLParserException -



loadWorkflowProcesses
protected void loadWorkflowProcesses(XPDLPackage pkg, List elements) throws XPDLParserException, PropertyVetoException(Code)
Load the workflow process objects from the given list of "WorkflowProcess" elements.
Parameters:
  elements - The list of "WorkflowProcess" elements
throws:
  XPDLParserException -



parse
public XPDLPackage parse(InputStream in) throws IOException, XPDLParserException(Code)



parse
public XPDLPackage parse(Reader in) throws IOException, XPDLParserException(Code)
Parse the XPDL document which is provided by the given InputStream.
Parameters:
  in - The XPDL character stream The Workflow Package
throws:
  IOException - Any I/O Exception
throws:
  XPDLParserException - Any parser exception



parseIntAttribute
protected Integer parseIntAttribute(Element element, String attribute)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.