Package org.sylfra.idea.plugins.xstructure.resolution

Examples of org.sylfra.idea.plugins.xstructure.resolution.XMappingResolverFactory


   *
   * @return the related mapping resolver implementation
   */
  public IXMappingResolver readXMappingResolver(String implType)
  {
    XMappingResolverFactory xMappingResolverFactory = XStructurePlugin.getInstance()
      .getXMappingResolverFactory();
    IXMappingResolver xMappingResolver = xMappingResolverFactory.getMappingResolver(implType);
    if (xMappingResolver == null)
    {
      // TODO display message to user
      // TODO check if implementation is supported
      throw new ConversionException("Unkown implementation type : " + implType
        + ". Use one of these : " + xMappingResolverFactory.getRegisterTypes());
    }
    return xMappingResolver;
  }
View Full Code Here


   */
  public XMappingResolverFactory getXMappingResolverFactory()
  {
    if (xMappingResolverFactory == null)
    {
      xMappingResolverFactory = new XMappingResolverFactory();
    }
    return xMappingResolverFactory;
  }
View Full Code Here

TOP

Related Classes of org.sylfra.idea.plugins.xstructure.resolution.XMappingResolverFactory

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.