Note that some subclasses may not have a type attribute and for objects of those types, the {@link #getType} method always returns null.
type
null
Returns the type of data referenced by this URI.returnthe type (a URI) of the data object (may be null if not specified)
Returns the URI of the referenced data object.returnthe URI of the data object in RFC 2396 format (may be null if not specified)