Package org.apache.wookie.beans

Examples of org.apache.wookie.beans.IDescription


                    widget.setVersion("v1.0");
                    IName widgetName = persistenceManager.newInstance(IName.class);
                    widgetName.setName("Unsupported widget widget");
                    widgetName.setShortName("Unsupported");
                    widget.getNames().add(widgetName);
                    IDescription widgetDescription = persistenceManager.newInstance(IDescription.class);
                    widgetDescription.setContent("This widget is a placeholder for when no corresponding widget is found for a given type");
                    widget.getDescriptions().add(widgetDescription);
                    IStartFile widgetStartFile = persistenceManager.newInstance(IStartFile.class);
                    widgetStartFile.setUrl("/wookie/wservices/notsupported/index.htm");
                    widget.getStartFiles().add(widgetStartFile);
                    IStartFile widgetBUStartFile = persistenceManager.newInstance(IStartFile.class);
View Full Code Here


    }
  }

  private static void createDescriptions(IPersistenceManager persistenceManager, W3CWidget model, IWidget widget){
    for (IDescriptionEntity desc:model.getDescriptions()){
      IDescription widgetDesc = persistenceManager.newInstance(IDescription.class);
      widgetDesc.setContent(desc.getDescription());
      widgetDesc.setLang(desc.getLang());
      widgetDesc.setDir(desc.getDir());
            widget.getDescriptions().add(widgetDesc);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.wookie.beans.IDescription

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.