public TypeInfoSetImpl(Navigator<T,C,F,M> nav, AnnotationReader<T,C,F,M> reader, Map<T,? extends BuiltinLeafInfoImpl<T,C>> leaves) { this.nav = nav; this.reader = reader; this.builtins.putAll(leaves); this.anyType = createAnyType(); // register primitive types. for (Map.Entry<Class, Class> e : RuntimeUtil.primitiveToBox.entrySet()) { this.builtins.put( nav.getPrimitive(e.getKey()), leaves.get(nav.ref(e.getValue())) ); } // make sure at lease we got a map for global ones. elementMappings.put(null,new LinkedHashMap<QName,ElementInfoImpl<T,C,F,M>>()); }
public TypeInfoSetImpl(Navigator<T,C,F,M> nav, AnnotationReader<T,C,F,M> reader, Map<T,? extends BuiltinLeafInfoImpl<T,C>> leaves) { this.nav = nav; this.reader = reader; this.builtins.putAll(leaves); this.anyType = createAnyType(); // register primitive types. for (Map.Entry<Class, Class> e : RuntimeUtil.primitiveToBox.entrySet()) { this.builtins.put( nav.getPrimitive(e.getKey()), leaves.get(nav.ref(e.getValue())) ); } // make sure at lease we got a map for global ones. elementMappings.put(null,new LinkedHashMap<QName,ElementInfoImpl<T,C,F,M>>()); }
public TypeInfoSetImpl(Navigator<T,C,F,M> nav, AnnotationReader<T,C,F,M> reader, Map<T,? extends BuiltinLeafInfoImpl<T,C>> leaves) { this.nav = nav; this.reader = reader; this.builtins.putAll(leaves); this.anyType = createAnyType(); // register primitive types. for (Map.Entry<Class, Class> e : RuntimeUtil.primitiveToBox.entrySet()) { this.builtins.put( nav.getPrimitive(e.getKey()), leaves.get(nav.ref(e.getValue())) ); } // make sure at lease we got a map for global ones. elementMappings.put(null,new LinkedHashMap<QName,ElementInfoImpl<T,C,F,M>>()); }
public TypeInfoSetImpl(Navigator<T,C,F,M> nav, AnnotationReader<T,C,F,M> reader, Map<T,? extends BuiltinLeafInfoImpl<T,C>> leaves) { this.nav = nav; this.reader = reader; this.builtins.putAll(leaves); this.anyType = createAnyType(); // register primitive types. for (Map.Entry<Class, Class> e : RuntimeUtil.primitiveToBox.entrySet()) { this.builtins.put( nav.getPrimitive(e.getKey()), leaves.get(nav.ref(e.getValue())) ); } // make sure at lease we got a map for global ones. elementMappings.put(null,new LinkedHashMap<QName,ElementInfoImpl<T,C,F,M>>()); }