/** * Communicates the desired timing of traversal from the starting resource to the ending resource. * It's value should be treated as follows: * * <ul> * <li>onLoad: traverse to the ending resource immediately on loading the starting resource</li> * <li>onRequest: traverse from the starting resource to the ending resource only on a post-loading event triggered for this purpose</li> * <li>other: behavior is unconstrained; examine other markup in link for hints</li> * <li>none: behavior is unconstrained</li> * </ul> * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "actuate", namespace = Namespaces.XLINK) public final XLink.Actuate getActuate() { final XLink link = xlink(false); return (link != null) ? link.getActuate() : null; }
/** * Communicates the desired timing of traversal from the starting resource to the ending resource. * It's value should be treated as follows: * * <ul> * <li>onLoad: traverse to the ending resource immediately on loading the starting resource</li> * <li>onRequest: traverse from the starting resource to the ending resource only on a post-loading event triggered for this purpose</li> * <li>other: behavior is unconstrained; examine other markup in link for hints</li> * <li>none: behavior is unconstrained</li> * </ul> * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "actuate", namespace = Namespaces.XLINK) public final XLink.Actuate getActuate() { final XLink link = xlink(false); return (link != null) ? link.getActuate() : 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(); }