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

us.ihmc.scs2.definition.robot.urdf.items.URDFAxis 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 joint.
 *
 * @author Sylvain Bertrand
 */
public class URDFAxis implements URDFItem
{
   private String xyz;

   @XmlAttribute(name = "xyz")
   public void setXYZ(String xyz)
   {
      this.xyz = xyz;
   }

   public String getXYZ()
   {
      return xyz;
   }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy