/** * Communicates the desired presentation of the ending resource on traversal * from the starting resource. It's value should be treated as follows: * * <ul> * <li>new: load ending resource in a new window, frame, pane, or other presentation context</li> * <li>replace: load the resource in the same window, frame, pane, or other presentation context</li> * <li>embed: load ending resource in place of the presentation of the starting resource</li> * <li>other: behavior is unconstrained; examine other markup in the link for hints</li> * <li>none: behavior is unconstrained</li> * </ul> * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "show", namespace = Namespaces.XLINK) public final XLink.Show getShow() { final XLink link = xlink(false); return (link != null) ? link.getShow() : null; }
/** * Communicates the desired presentation of the ending resource on traversal * from the starting resource. It's value should be treated as follows: * * <ul> * <li>new: load ending resource in a new window, frame, pane, or other presentation context</li> * <li>replace: load the resource in the same window, frame, pane, or other presentation context</li> * <li>embed: load ending resource in place of the presentation of the starting resource</li> * <li>other: behavior is unconstrained; examine other markup in the link for hints</li> * <li>none: behavior is unconstrained</li> * </ul> * * @return the current value, or {@code null} if none. * @category xlink */ @XmlAttribute(name = "show", namespace = Namespaces.XLINK) public final XLink.Show getShow() { final XLink link = xlink(false); return (link != null) ? link.getShow() : 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(); }