Tabnine Logo
SegmentType$SequenceList
Code IndexAdd Tabnine to your IDE (free)

How to use
SegmentType$SequenceList
in
com.netflix.imfutility.generated.imf._2013

Best Java code snippets using com.netflix.imfutility.generated.imf._2013.SegmentType$SequenceList (Showing top 3 results out of 315)

origin: DSRCorporation/imf-conversion

@Override
protected void buildFromCpl() {
  // 1. get a composition edit rate (it's used if no specific edit rate is specified for a segment).
  this.compositionEditRate = ConversionHelper.parseEditRate(cpl2013.getEditRate());
  // 2. go through all segments and all sequences and build segment, sequence and resource contexts.
  for (SegmentType segment : cpl2013.getSegmentList().getSegment()) {
    this.currentSegmentUuid = SegmentUUID.create(segment.getId());
    contextProvider.getSegmentContext().initSegment(currentSegmentUuid);
    for (Object anySeqJaxb : segment.getSequenceList().getAny()) {
      if (!(anySeqJaxb instanceof JAXBElement)) {
        throw new ConversionException(String.format("Could not understand a sequence '%s'", anySeqJaxb.toString()));
      }
      JAXBElement jaxbElement = (JAXBElement) (anySeqJaxb);
      Object anySeq = jaxbElement.getValue();
      SequenceTypeCpl currentSequenceTypeCpl = SequenceTypeCpl.fromName(jaxbElement.getName().getLocalPart());
      if ((currentSequenceTypeCpl != null) && (anySeq instanceof SequenceType)) {
        this.currentSequence = (SequenceType) anySeq;
        this.currentSequenceType = currentSequenceTypeCpl.toSequenceType();
        this.currentSequenceUuid = SequenceUUID.create(currentSequence.getTrackId());
        processSequence();
      }
    }
  }
}
origin: DSRCorporation/imf-conversion

/**
 * Create an instance of {@link SegmentType.SequenceList }
 * 
 */
public SegmentType.SequenceList createSegmentTypeSequenceList() {
  return new SegmentType.SequenceList();
}
origin: DSRCorporation/imf-conversion

/**
 * Create an instance of {@link SegmentType.SequenceList }
 * 
 */
public SegmentType.SequenceList createSegmentTypeSequenceList() {
  return new SegmentType.SequenceList();
}
com.netflix.imfutility.generated.imf._2013SegmentType$SequenceList

Most used methods

    Popular in Java

    • Creating JSON documents from java classes using gson
    • scheduleAtFixedRate (Timer)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • orElseThrow (Optional)
      Return the contained value, if present, otherwise throw an exception to be created by the provided s
    • BigDecimal (java.math)
      An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
    • Collection (java.util)
      Collection is the root of the collection hierarchy. It defines operations on data collections and t
    • Dictionary (java.util)
      Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
    • ReentrantLock (java.util.concurrent.locks)
      A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
    • JarFile (java.util.jar)
      JarFile is used to read jar entries and their associated data from jar files.
    • SAXParseException (org.xml.sax)
      Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
    • Top Vim plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now