Class Reference
java.lang.Object
ro.sync.exml.workspace.api.references.Reference
Simple bean class used to contain references. References have
a type and an URL
- Since:
- 21.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Constants enumerating the resource types. -
Constructor Summary
ConstructorsConstructorDescriptionReference
(Reference.Type type, String uri) Constructs a newReference
with a type and an URI. -
Method Summary
-
Constructor Details
-
Reference
Constructs a newReference
with a type and an URI.- Parameters:
type
- the type of the referenceuri
- the URI
-
-
Method Details
-
getURL
Getter for the string representing the URL of the external resource- Returns:
- the URL of the reference as string
-
getType
Getter for the type of the reference (static content, link, CSS, etc.)- Returns:
- the type of the reference
-
toString
-
hashCode
public int hashCode() -
equals
-