|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.gml.GMLReference<T>
T - type of the referenced objectpublic class GMLReference<T extends GMLObject>
Represents a reference to a GMLObject, corresponds to a GML property with an xlink:href
attribute (may be document-local or remote).
| Constructor Summary | |
|---|---|
GMLReference(GMLReferenceResolver resolver,
String uri,
String baseURL)
Creates a new GMLReference instance. |
|
| Method Summary | |
|---|---|
GMLStdProps |
getGMLProperties()
Returns the standard GML properties (e.g. |
String |
getId()
Returns the id of the object. |
T |
getReferencedObject()
Returns the referenced GMLObject instance (may trigger resolving and fetching it). |
String |
getURI()
Returns the URI of the object. |
boolean |
isLocal()
Returns whether the URI is local, i.e. if it starts with the # character. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMLReference(GMLReferenceResolver resolver,
String uri,
String baseURL)
GMLReference instance.
resolver - used for resolving the reference, must not be nulluri - the object's uri, must not be nullbaseURL - base URL for resolving the uri, may be null (no resolving of relative URLs)| Method Detail |
|---|
public String getURI()
nullpublic boolean isLocal()
# character.
public T getReferencedObject()
throws ReferenceResolvingException
GMLObject instance (may trigger resolving and fetching it).
GMLObject instance
ReferenceResolvingException - if the reference cannot be resolvedpublic String getId()
GMLObject
getId in interface GMLObjectnull if it doesn't have an idpublic GMLStdProps getGMLProperties()
GMLObjectgml:name).
getGMLProperties in interface GMLObject
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||