/** * A URI reference for some description of the arc role. * * @return the current value, or {@code null} if none. * @category xlink */ @XmlSchemaType(name = "anyURI") @XmlAttribute(name = "role", namespace = Namespaces.XLINK) public final String getRole() { final XLink link = xlink(false); return (link != null) ? toString(link.getRole()) : null; }
/** * A URI reference for some description of the arc role. * * @return the current value, or {@code null} if none. * @category xlink */ @XmlSchemaType(name = "anyURI") @XmlAttribute(name = "role", namespace = Namespaces.XLINK) public final String getRole() { final XLink link = xlink(false); return (link != null) ? toString(link.getRole()) : null; }
/** * Returns a string representation of this object. The default implementation returns the * simple class name followed by non-null attributes, as in the example below: * * {@preformat text * XLink[type="locator", href="urn:ogc:def:method:EPSG::4326"] * } */ @Override public String toString() { final StringBuilder buffer = new StringBuilder(64); buffer.append(Classes.getShortClassName(this)).append('['); append(buffer, "type", getType()); append(buffer, "href", getHRef()); append(buffer, "role", getRole()); append(buffer, "arcrole", getArcRole()); append(buffer, "title", getTitle()); append(buffer, "show", getShow()); append(buffer, "actuate", getActuate()); append(buffer, "label", getLabel()); append(buffer, "from", getFrom()); append(buffer, "to", getTo()); return buffer.append(']').toString(); }
/** * Returns a string representation of this object. The default implementation returns the * simple class name followed by non-null attributes, as in the example below: * * {@preformat text * XLink[type="locator", href="urn:ogc:def:method:EPSG::4326"] * } */ @Override public String toString() { final StringBuilder buffer = new StringBuilder(64); buffer.append(Classes.getShortClassName(this)).append('['); append(buffer, "type", getType()); append(buffer, "href", getHRef()); append(buffer, "role", getRole()); append(buffer, "arcrole", getArcRole()); append(buffer, "title", getTitle()); append(buffer, "show", getShow()); append(buffer, "actuate", getActuate()); append(buffer, "label", getLabel()); append(buffer, "from", getFrom()); append(buffer, "to", getTo()); return buffer.append(']').toString(); }