org.jbind.xml.core.data
Interface IDataContext

All Superinterfaces:
IDataReferences, IDataStore
All Known Implementing Classes:
DataContext

public interface IDataContext
extends IDataStore, IDataReferences

Context for resolving data references.


Method Summary
 boolean isShared()
          Indicates if the data context is shared, i.e. used for validation over several instances.
 
Methods inherited from interface org.jbind.xml.core.data.IDataStore
getIndexedData, setIndexedData
 
Methods inherited from interface org.jbind.xml.core.data.IDataReferences
add, resolveReferences
 

Method Detail

isShared

public boolean isShared()
Indicates if the data context is shared, i.e. used for validation over several instances. A validation context that is not shared clears its data store when its references are resolved whereas a data context that is shared keeps its data store.

Returns:
Returns true iff the validation context is shared.