org.deegree.gml.feature
Interface GMLForwardReferenceHandler


public interface GMLForwardReferenceHandler

Handler that is invoked by the GMLFeatureWriter when a reference to a GMLObject is written.

This interface allows to customize the strategy for dealing with potential forward-references.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: markus $

Method Summary
 String handleReference(GMLReference<?> ref)
          Invoked when the target of the given GMLReference may be an external reference or a forward reference to an object exported later.
 String requireObject(GMLReference<?> ref)
          Invoked when the target of the given GMLReference has to be included in the output.
 

Method Detail

requireObject

String requireObject(GMLReference<?> ref)
Invoked when the target of the given GMLReference has to be included in the output.

Parameters:
ref - reference, never null
Returns:
URI to write, never null

handleReference

String handleReference(GMLReference<?> ref)
Invoked when the target of the given GMLReference may be an external reference or a forward reference to an object exported later.

Parameters:
ref - reference, never null
Returns:
URI to write, never null


Copyright © 2011. All Rights Reserved.