public interface HdxContainer
HdxContainer
is the Java representation of an HDX object.
This interface should be regarded as rather provisional at present.
Modifier and Type | Method and Description |
---|---|
Object |
get(HdxResourceType type)
Returns a single object of the given type from the HDX.
|
Element |
getDOM(URI base)
Obtains a DOM representing the HDX.
|
List |
getList(HdxResourceType type)
Returns a list of objects from the Hdx.
|
Source |
getSource(URI base)
Obtains a
Source representing the
HDX. |
List getList(HdxResourceType type)
HdxResourceType.getConstructedClass()
, if that is non-null.type
- the type of object to returnObject get(HdxResourceType type)
HdxResourceType.getConstructedClass()
, if that is non-null.type
- the type of object to returnElement getDOM(URI base)
The XML in general may contain URIs, for instance referencing the
array components of the NDX. How these are written is determined
by the base
parameter; URIs will be written as relative
URIs relative to base
if this is possible (e.g. if they
share a part of their path). If there is no common part of the
path, including the case in which base
is null
,
then an absolute reference will be written.
Source getSource(URI base)
Source
representing the
HDX. The resulting Source
is equivalent to the
DOM returned by getDOM(java.net.URI)
.
The XML in general may contain URIs, for instance referencing the
array components of the NDX. How these are written is determined
by the base
parameter; URIs will be written as relative
URIs relative to base
if this is possible (e.g. if they
share a part of their path). If there is no common part of the
path, including the case in which base
is null
,
then an absolute reference will be written.
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.