/** * Parses the string argument as a UniqueId. * * @param uniqueId * a <code>String</code> containing the <code>UniqueId</code> * representation to be parsed. * * @return the <code>UniqueId</code> represented by the argument. */ public static final UniqueId parseUniqueId(String uniqueId) { return new UniqueId(decode(uniqueId)); }
/** * {@inheritDoc} */ @Override public String toString() { if (this.toString == null) { this.toString = encode(this.value); } return this.toString; }
public static void main(String[] args) { System.out.println(new UniqueId()); }
/** * Creates a Jena {@link Node_Literal} representing the subscription id. * * @return a Jena {@link Node_Literal} representing the subscription id. */ public Node toJenaNode() { return NodeFactory.createLiteral(super.toString()); }