us.ihmc.scs2.definition.robot.urdf.items.URDFLinkReference 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 URDFLinkReference implements URDFItem
{
private String link;
@XmlAttribute(name = "link")
public void setLink(String link)
{
this.link = link;
}
public String getLink()
{
return link;
}
@Override
public String getContentAsString()
{
return format("[link: %s]", link);
}
@Override
public String toString()
{
return itemToString();
}
@Override
public List getFilenameHolders()
{
return Collections.emptyList();
}
}