Codota Logo
SegmentType$SequenceList
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
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

    • Parsing JSON documents to java classes using gson
    • findViewById (Activity)
    • orElseThrow (Optional)
    • getSupportFragmentManager (FragmentActivity)
      Return the FragmentManager for interacting with fragments associated with this activity.
    • MalformedURLException (java.net)
      Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
    • Proxy (java.net)
      This class represents proxy server settings. A created instance of Proxy stores a type and an addres
    • Date (java.util)
      A specific moment in time, with millisecond precision. Values typically come from System#currentTime
    • ServletException (javax.servlet)
      Defines a general exception a servlet can throw when it encounters difficulty.
    • JButton (javax.swing)
    • IsNull (org.hamcrest.core)
      Is the value null?
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now