sk.uniba.euromath.document.schema
Interface INameListWrapperDataProvider<R extends IBaseRuleP>

Type Parameters:
R - instance of IAttributeRuleP or INewElementRuleP only.

public interface INameListWrapperDataProvider<R extends IBaseRuleP>

Provides data for the namelist. Called when the object is constructed and/or when refresh is required.

Author:
Martin Vysny

Method Summary
 Map<QName,R> getForeignRules(INameListP original)
          Returns rules that shall represent foreign rules in the namelist.
 

Method Detail

getForeignRules

Map<QName,R> getForeignRules(INameListP original)
Returns rules that shall represent foreign rules in the namelist. The map contains rules only for loaded schemas. Returned map should be cached because it must be constructed from scratch during each call.

Parameters:
original - the original namelist. All QNames in result map must be accepted by the original namelist.
Returns:
map that maps QNames to NewElementRuleP or AttributeRuleP. It may be null in case that the list does not contain no local qnames.


Copyright © 2003-2006 null. All Rights Reserved.