org.cip4.jdflib.validate
Class VersionTranslator
java.lang.Object
org.cip4.jdflib.validate.VersionTranslator
public class VersionTranslator
- extends Object
class to translate jdf to and from other jdf versions including but not limited to JDF 2.0 based on contents
- Author:
- rainer prosi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionTranslator
public VersionTranslator(JDFElement.EnumVersion version)
- Parameters:
version - the version to convert to
convertStream
public Vector<InputStream> convertStream(InputStream stream)
- convert a stream
- Parameters:
stream - the input stream to convert
- Returns:
- the converted stream
convertElement
public KElement convertElement(KElement root)
- convert an element
- Parameters:
root - the element to convert
- Returns:
- the converted element
Copyright © 2013. All Rights Reserved.