1 19 package org.netbeans.modules.xslt.model.impl; 20 21 import java.util.Collection ; 22 import java.util.LinkedList ; 23 import java.util.List ; 24 25 import org.netbeans.modules.xslt.model.ReferenceableXslComponent; 26 import org.netbeans.modules.xslt.model.XslReference; 27 28 29 43 interface ReferenceListResolveFactory { 44 45 boolean isApplicable( Class referenceType ); 46 47 <T extends ReferenceableXslComponent> List <XslReference<T>> resolve( 48 AttributeAccess access , Class <T> clazz, String value ); 49 50 class Factories { 51 static final Collection <ReferenceListResolveFactory> FACTORIES = 52 new LinkedList <ReferenceListResolveFactory>(); 53 54 static { 55 FACTORIES.add( new AttributeSetReferenceListResolver() ); 56 } 57 } 58 } 59 | Popular Tags |