Package org.olat.ims.qti.editor.beecom.objects

Examples of org.olat.ims.qti.editor.beecom.objects.Matvideo


   */
  public Object parse(Element element) {
    //assert element.getName().equalsIgnoreCase("matvideo");
    String uri = element.attributeValue("uri");
    if(uri != null && uri.length() > 0) {
      Matvideo mat = new Matvideo(uri);
      String videotype = element.attributeValue("videotype");
      if (videotype != null) mat.setVideotype(videotype);
      String width = element.attributeValue("width");
      if (width != null) mat.setWidth(width);
      String height = element.attributeValue("height");
      if (height != null) mat.setHeight(height);
      return mat;
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.olat.ims.qti.editor.beecom.objects.Matvideo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.