com.hdcookbook.grin.io.builders
Interface FeatureRef


public interface FeatureRef

This interface reprsents a reference to another feature that might not be known yet. It can be used within a DeferredBuilder or any other construct that defers resolution of a feature; when DeferredBuilder.finishBuilding() is called, the builder can call getFeature to resolve to an actual feature.


Method Summary
 Feature getFeature()
          Resolve this FeatureRef to an actual feature
 

Method Detail

getFeature

Feature getFeature()
                   throws java.io.IOException
Resolve this FeatureRef to an actual feature

Throws:
java.io.IOException - if there's an error resolving it