|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HdxContainer
An HdxContainer
is the Java representation of an HDX object.
This interface should be regarded as rather provisional at present.
Method Summary | |
---|---|
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. |
Method Detail |
---|
List getList(HdxResourceType type)
HdxResourceType.getConstructedClass()
, if that is non-null.
type
- the type of object to return
Object get(HdxResourceType type)
HdxResourceType.getConstructedClass()
, if that is non-null.
type
- the type of object to return
Element 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |