Top Banner
CIP4 JDF APIs JDF Editor Elena Skobchenko
17

CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.

Mar 28, 2015

Download

Documents

Carly Mullinax
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CIP4 JDF APIs JDF Editor Elena Skobchenko. Overview The CIP4 JDF APIs –Java –C++ –Documentation JDF Tools –CheckJDF –JDF Editor.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Thank you

for your attention!

Elena Skobchenko

Solution Management