org.obe.client.api.xpdl
Class PackageValidator

java.lang.Object
  extended byorg.obe.client.api.xpdl.PackageValidator
All Implemented Interfaces:
PackageValidatorMessages

public final class PackageValidator
extends java.lang.Object
implements PackageValidatorMessages

Validates an XPDL package bean.

Author:
Adrian Price

Field Summary
static java.lang.String GRAPH_CONFORMANCE_MIN_PROP
           
static java.lang.String OTHERWISE_TRANSITION_ALREADY_DEFINED
           
 
Fields inherited from interface org.obe.client.api.xpdl.PackageValidatorMessages
ACTIVITY_BODY_MISSING, COUNT_INCORRECT, DATATYPE_NOT_FOUND, EVENT_TRANSITION_MISMATCH, EXCEPTION_NOT_HANDLED, EXIT_ACTIVITY_REQUIRED, ID_ALREADY_DEFINED, ID_MUST_BE_SPECIFIED, INCOMPATIBLE_TRANSITION, INVALID_FROM_TO_DATES, INVALID_NMTOKEN, INVALID_SCRIPT, INVALID_TRANSITION_REF, INVALID_TYPE_DECL, JOIN_REQUIRED, MAX_ONE_SYNC_DEADLINE, OTHERWISE_ALREADY_DEFINED, OTHERWISE_REQUIRED, PROPERTY_MISSING, PROPERTY_VALUE_TOO_LOW, ROUTE_CANNOT_HAVE_PERFORMER, SPLIT_MISSING_REFERENCES, SPLIT_REQUIRED, START_ACTIVITY_REQUIRED, TRANSITION_FROM_ACTIVITY_UNDEFINED, TRANSITION_REF_MISSING, TRANSITION_RESTRICTIONS_ONLY_ONE_JOIN, TRANSITION_RESTRICTIONS_ONLY_ONE_SPLIT, TRANSITION_TO_ACTIVITY_UNDEFINED, UNDEFINED_ACTIVITY_SET, UNDEFINED_REFERENCE, UNDEFINED_SUBPROCESS, UNSUPPORTED_CODEPAGE, UNSUPPORTED_COUNTRY, UNSUPPORTED_TYPE_CONVERSION
 
Constructor Summary
PackageValidator()
           
PackageValidator(java.util.Properties props)
           
 
Method Summary
 java.lang.String getProperty(java.lang.String key)
           
static void main(java.lang.String[] args)
           
 java.lang.Object setProperty(java.lang.String key, java.lang.String value)
           
 ValidationError[] validate(XPDLPackage pkg, boolean throwException)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAPH_CONFORMANCE_MIN_PROP

public static final java.lang.String GRAPH_CONFORMANCE_MIN_PROP
See Also:
Constant Field Values

OTHERWISE_TRANSITION_ALREADY_DEFINED

public static final java.lang.String OTHERWISE_TRANSITION_ALREADY_DEFINED
See Also:
Constant Field Values
Constructor Detail

PackageValidator

public PackageValidator()

PackageValidator

public PackageValidator(java.util.Properties props)
Method Detail

main

public static void main(java.lang.String[] args)

getProperty

public java.lang.String getProperty(java.lang.String key)

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.String value)

validate

public ValidationError[] validate(XPDLPackage pkg,
                                  boolean throwException)
                           throws InvalidPackageException
Throws:
InvalidPackageException


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