CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++...
-
Upload
carly-mullinax -
Category
Documents
-
view
287 -
download
11
Transcript of CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++...
CIP4 JDF APIs JDF Editor
Elena Skobchenko
Overview
• The CIP4 JDF APIs– Java– C++– Documentation
• JDF Tools– CheckJDF – JDF Editor
CIP4 JDF APIs
JDFLib
Implementation of the JDF Specification
C++
Java
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
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
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)
JDFLib Package structure
JDF Node
JDF Device Capability
JDF JMF
JDF Resources
JDF Core
Auto auto generated classes
JDFLib (JDFWrapper)
editable
not editable !
Documentation, Sample Applications
• JDF Library Class Overview• Doxygen documentation• FAQs
C++
• Installation Manual
• Help instructions “How to…”• Code Samples (JDFExample)
the best starting point
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
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…
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)
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…
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
JDF Editor
• Input & Output Resource View• Shows the processes that consume and/or produce
the chosen resource
• Reflects its position in a Tree View
JDF Editor
• Validation & Error View• Validates JDF and displays errors in an Error View
• Highlights invalid elements/attributes in a Tree View
Info
• CIP4 APIs, JDFEditor and CheckJDF
– www.cip4.org/open-src/download
• Forum – T&I Working Group
• Questions?
Thank you
for your attention!
Elena Skobchenko
Solution Management