/** * Just as with resources, this is simply a human-readable string with a short description * for the arc. * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "title", namespace = Namespaces.XLINK) public final String getTitle() { final XLink link = xlink(false); return (link != null) ? StringAdapter.toString(link.getTitle()) : null; }
/** * Just as with resources, this is simply a human-readable string with a short description * for the arc. * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "title", namespace = Namespaces.XLINK) public final String getTitle() { final XLink link = xlink(false); return (link != null) ? StringAdapter.toString(link.getTitle()) : 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(); }