CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++...
-
Upload
carly-mullinax -
Category
Documents
-
view
268 -
download
11
Transcript of CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++...
![Page 1: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/1.jpg)
CIP4 JDF APIs JDF Editor
Elena Skobchenko
![Page 2: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/2.jpg)
Overview
• The CIP4 JDF APIs– Java– C++– Documentation
• JDF Tools– CheckJDF – JDF Editor
![Page 3: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/3.jpg)
CIP4 JDF APIs
JDFLib
Implementation of the JDF Specification
C++
Java
![Page 4: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/4.jpg)
JDF Library C++
JDF Wrapper Lib
Implementation of the JDFSpecification
JDF Tools Lib
Corresponding Java packages : lang, io, mime, util, net
High level
JDF Wrapper Core Lib
Kelement, XMLDoc, Parser, DataTypes defined in JDF Low level
![Page 5: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/5.jpg)
JDF Library Java
Packageorg.cip4.jdflib
Implementation of the JDFSpecification
High level
org.cip4.jdflib.core - Kelement, XMLDoc, JDFParserorg.cip4.jdflib.datatypes - dataTypes defined in JDF
Low level
![Page 6: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/6.jpg)
JDFSchema – Generator - Auto files
Generator XML to C++ code
Auto files JAVAe.g. JDFAutoJMF
Generator XML to JAVA code
JDF Schema
JDFSpecifcation inXML code
Auto files C++e.g. JDFAutoJMF
• Almost every high level class has a corresponding Auto generated class, e.g.
JDFJMF – JDFAutoJMFJDFMedia – JDFAutoMedia
• With the new release of JDF Schema Auto files are usually replaced with new Auto files. (Any changes in Auto files will be lost)
![Page 7: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/7.jpg)
JDFLib Package structure
JDF Node
JDF Device Capability
JDF JMF
JDF Resources
JDF Core
Auto auto generated classes
JDFLib (JDFWrapper)
editable
not editable !
![Page 8: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/8.jpg)
Documentation, Sample Applications
• JDF Library Class Overview• Doxygen documentation• FAQs
C++
• Installation Manual
• Help instructions “How to…”• Code Samples (JDFExample)
the best starting point
![Page 9: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/9.jpg)
JDF Tools
1. Check JDF
2. JDF Editor
• Graphic User Interface • JDF Tree View • JDF Process View• JDF Resource View (In & Output)• Editing, Spawn, Merge• Validation• FixVersion• Send JMF• Device Capabilities Support
• Validation• User settable parameters• Device Capabilities test
![Page 10: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/10.jpg)
Check JDF
• Tests one or more JDF files• Looks for Invalid Elements and Attributes
• Tests their Cardinality
• For every type of Job tests input and output resources
– Missing
– Unknown
– Invalid
• Tests every pair “ResourceRef - Resource”, “ResourceLink - Resource” :
– looks for invalid references
– checks their location in the tree
• Looks for duplicate elements and duplicate ID entries
and more…
![Page 11: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/11.jpg)
Check JDF
• Input– JDF files to test
– User Parameters (Optional)
• Validation options
• Schema location
• Show elements and attributes in foreign namespaces …
– Device Capability file to test against (Optional)
• Output– Error report in console window
– Error report in XML form (in Java Version CheckJDF)
![Page 12: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/12.jpg)
JDF Editor
• Tree view– Hierarchical job representation
– Easy navigation, “Find” option
– Icons for Links, Refs…
– Highlight of the elements and
attributes in private namespaces
– Edition
– “Copy” “Cut” “Paste” options
– Insert and Auto insert of therequired attributes and elements
– Spawn and Merge functions
– Device Capabilities
and more…
![Page 13: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/13.jpg)
JDF Editor
• Process view• graphical representation of the processes
• Short description of the Process and Input&Output Resources
• Parallel shows active element in the tree
![Page 14: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/14.jpg)
JDF Editor
• Input & Output Resource View• Shows the processes that consume and/or produce
the chosen resource
• Reflects its position in a Tree View
![Page 15: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/15.jpg)
JDF Editor
• Validation & Error View• Validates JDF and displays errors in an Error View
• Highlights invalid elements/attributes in a Tree View
![Page 16: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/16.jpg)
Info
• CIP4 APIs, JDFEditor and CheckJDF
– www.cip4.org/open-src/download
• Forum – T&I Working Group
• Questions?
![Page 17: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.](https://reader033.fdocuments.us/reader033/viewer/2022061601/5516b11a550346a25b8b5a95/html5/thumbnails/17.jpg)
Thank you
for your attention!
Elena Skobchenko
Solution Management