Java Doc for XMLInterfaceForJDK13.java in  » Workflow-Engines » JaWE » org » enhydra » shark » xpdl » 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 » JaWE » org.enhydra.shark.xpdl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.shark.xpdl.XMLInterfaceForJDK13

All known Subclasses:   org.enhydra.jawe.base.xpdlhandler.XPDLHandler,
XMLInterfaceForJDK13
public class XMLInterfaceForJDK13 implements XMLInterface(Code)
Implementation of XMLInterface that works with JDK1.3.
author:
   Sasa Bojanic


Field Summary
protected  MapidToPackages
    
protected  booleanisValidationON
    
protected  Localelocale
    
protected  StringmainPackageReference
    
protected  MappackageToParentDirectory
    
protected  MapparsingErrorMessages
    
protected  MapxmlFileToPackage
    
protected  XPDLRepositoryHandlerxpdlRep
    


Method Summary
public  voidclearParserErrorMessages()
    
public synchronized  voidcloseAllPackages()
    
public synchronized  PackageclosePackageVersion(String pkgId, String pkgVer)
    
public synchronized  ListclosePackages(String pkgId)
    
public synchronized  booleandoesPackageFileExists(String xmlFile)
    
public synchronized  StringgetAbsoluteFilePath(Package pkg)
    
public synchronized  CollectiongetAllPackageFilenames()
    
public synchronized  CollectiongetAllPackageIds()
    
public  CollectiongetAllPackageVersions(String pkgId)
    
public synchronized  CollectiongetAllPackages()
    
public synchronized  PackagegetExternalPackageByRelativeFilePath(String relativePathToExtPkg, Package rootPkg)
    
public synchronized  PackagegetPackageByFilename(String filename)
    
public synchronized  PackagegetPackageById(String pkgId)
    
public synchronized  PackagegetPackageByIdAndVersion(String pkgId, String version)
    
public synchronized  StringgetParentDirectory(Package pkg)
    
public  MapgetParsingErrorMessages()
     This method should be called immediatelly after opening a document, otherwise, messages could be invalid.
public  XPDLRepositoryHandlergetXPDLRepositoryHandler()
    
public synchronized  booleanisPackageOpened(String pkgId)
    
public  PackageopenPackage(String pkgReference, boolean handleExternalPackages)
    
public  PackageopenPackageFromStream(byte[] pkgContent, boolean isFileStream)
     This implementation assumes that external package references have the similar name as Id of external package, i.e.
protected  PackageopenPackageRecursively(String pkgReference, boolean handleExternalPackages)
    
public  PackageopenPackagesFromStreams(List pkgContents, boolean isFileStream)
     Opens all the packages represented by their streams, and returns first of them. This implementation assumes that external package references have the similar name as Id of external package, i.e.
public  PackageparseDocument(String toParse, boolean isFile)
    
public  voidprintDebug()
    
public  voidsetLocale(Locale locale)
    
public  voidsetValidation(boolean isActive)
    
public  voidsetXPDLRepositoryHandler(XPDLRepositoryHandler newXPDLRep)
    
public synchronized  voidsynchronizePackages(XMLInterface xmlInterface)
    

Field Detail
idToPackages
protected Map idToPackages(Code)



isValidationON
protected boolean isValidationON(Code)



locale
protected Locale locale(Code)



mainPackageReference
protected String mainPackageReference(Code)



packageToParentDirectory
protected Map packageToParentDirectory(Code)



parsingErrorMessages
protected Map parsingErrorMessages(Code)



xmlFileToPackage
protected Map xmlFileToPackage(Code)



xpdlRep
protected XPDLRepositoryHandler xpdlRep(Code)





Method Detail
clearParserErrorMessages
public void clearParserErrorMessages()(Code)



closeAllPackages
public synchronized void closeAllPackages()(Code)



closePackageVersion
public synchronized Package closePackageVersion(String pkgId, String pkgVer)(Code)



closePackages
public synchronized List closePackages(String pkgId)(Code)



doesPackageFileExists
public synchronized boolean doesPackageFileExists(String xmlFile)(Code)



getAbsoluteFilePath
public synchronized String getAbsoluteFilePath(Package pkg)(Code)



getAllPackageFilenames
public synchronized Collection getAllPackageFilenames()(Code)



getAllPackageIds
public synchronized Collection getAllPackageIds()(Code)



getAllPackageVersions
public Collection getAllPackageVersions(String pkgId)(Code)



getAllPackages
public synchronized Collection getAllPackages()(Code)



getExternalPackageByRelativeFilePath
public synchronized Package getExternalPackageByRelativeFilePath(String relativePathToExtPkg, Package rootPkg)(Code)



getPackageByFilename
public synchronized Package getPackageByFilename(String filename)(Code)



getPackageById
public synchronized Package getPackageById(String pkgId)(Code)



getPackageByIdAndVersion
public synchronized Package getPackageByIdAndVersion(String pkgId, String version)(Code)



getParentDirectory
public synchronized String getParentDirectory(Package pkg)(Code)



getParsingErrorMessages
public Map getParsingErrorMessages()(Code)
This method should be called immediatelly after opening a document, otherwise, messages could be invalid. The map which keys are opened packages, and values are the setsof errors for corresponding package.



getXPDLRepositoryHandler
public XPDLRepositoryHandler getXPDLRepositoryHandler()(Code)



isPackageOpened
public synchronized boolean isPackageOpened(String pkgId)(Code)



openPackage
public Package openPackage(String pkgReference, boolean handleExternalPackages)(Code)



openPackageFromStream
public Package openPackageFromStream(byte[] pkgContent, boolean isFileStream) throws Exception(Code)
This implementation assumes that external package references have the similar name as Id of external package, i.e. if external package reference is ../tests/maintest/testPackage.xpdl, it is assumed that external package's Id is testPackage.



openPackageRecursively
protected Package openPackageRecursively(String pkgReference, boolean handleExternalPackages)(Code)



openPackagesFromStreams
public Package openPackagesFromStreams(List pkgContents, boolean isFileStream) throws Exception(Code)
Opens all the packages represented by their streams, and returns first of them. This implementation assumes that external package references have the similar name as Id of external package, i.e. if external package reference is ../tests/maintest/testPackage.xpdl, it is assumed that external package's Id is testPackage.



parseDocument
public Package parseDocument(String toParse, boolean isFile)(Code)



printDebug
public void printDebug()(Code)



setLocale
public void setLocale(Locale locale)(Code)



setValidation
public void setValidation(boolean isActive)(Code)



setXPDLRepositoryHandler
public void setXPDLRepositoryHandler(XPDLRepositoryHandler newXPDLRep)(Code)



synchronizePackages
public synchronized void synchronizePackages(XMLInterface xmlInterface)(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.