@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class Reference
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Reference.Type
Constants enumerating the resource types.
|
Constructor and Description |
---|
Reference(Reference.Type type,
java.lang.String uri)
Constructs a new
Reference with a type and an URI. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Reference.Type |
getType()
Getter for the type of the reference (static content, link, CSS, etc.)
|
java.lang.String |
getURL()
Getter for the string representing the URL of the external resource
|
int |
hashCode() |
java.lang.String |
toString() |
public Reference(Reference.Type type, java.lang.String uri)
Reference
with a type and an URI.type
- the type of the referenceuri
- the URIpublic java.lang.String getURL()
public Reference.Type getType()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
© Copyright Syncro Soft SRL 2002 - 2022. All rights reserved.