All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.ihmc.scs2.definition.robot.urdf.items.URDFBox Maven / Gradle / Ivy

package us.ihmc.scs2.definition.robot.urdf.items;

import java.util.Collections;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;

/**
 *  ROS Specification link.
 *
 * @author Sylvain Bertrand
 */
public class URDFBox implements URDFItem
{
   private String size;

   @XmlAttribute(name = "size")
   public void setSize(String size)
   {
      this.size = size;
   }

   public String getSize()
   {
      return size;
   }

   @Override
   public String getContentAsString()
   {
      return format("[size: %s]", size);
   }

   @Override
   public String toString()
   {
      return itemToString();
   }

   @Override
   public List getFilenameHolders()
   {
      return Collections.emptyList();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy