Package org.jamesii.core.model.symbolic.convert

Examples of org.jamesii.core.model.symbolic.convert.IConverter


  }

  @Override
  public IDocument<?> getAsDocument(Class<? extends IDocument<?>> targetFormat) {
    try {
      IConverter converter = getConverter(targetFormat);
      return converter.toDocument(this);
    } catch (Exception e) {
      SimSystem.report(e);
    }
    return null;
  }
View Full Code Here


  }

  @SuppressWarnings("unchecked")
  @Override
  public boolean setFromDocument(IDocument<?> model) {
    IConverter converter = getConverter(model.getClass());
    return setFromDataStructure(((ISymbolicModel<D>) converter
        .fromDocument(model)).getAsDataStructure());
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.model.symbolic.convert.IConverter

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.