Java Code Examples for com.sun.xml.internal.bind.v2.model.nav.Navigator#ref()

The following examples show how to use com.sun.xml.internal.bind.v2.model.nav.Navigator#ref() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BuiltinLeafInfoImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 2
Source File: BuiltinLeafInfoImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 3
Source File: BuiltinLeafInfoImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 4
Source File: BuiltinLeafInfoImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 5
Source File: BuiltinLeafInfoImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 6
Source File: BuiltinLeafInfoImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 7
Source File: BuiltinLeafInfoImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 8
Source File: BuiltinLeafInfoImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates all the {@link BuiltinLeafInfoImpl}s as specified in the spec.
 *
 * {@link LeafInfo}s are all defined by the spec.
 */
public static <TypeT,ClassDeclT>
Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves( Navigator<TypeT,ClassDeclT,?,?> nav ) {
    Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> leaves = new HashMap<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>>();

    for( RuntimeBuiltinLeafInfoImpl<?> leaf : RuntimeBuiltinLeafInfoImpl.builtinBeanInfos ) {
        TypeT t = nav.ref(leaf.getClazz());
        leaves.put( t, new BuiltinLeafInfoImpl<TypeT,ClassDeclT>(t,leaf.getTypeNames()) );
    }

    return leaves;
}
 
Example 9
Source File: AnyTypeImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 10
Source File: AnyTypeImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 11
Source File: AnyTypeImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 12
Source File: AnyTypeImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 13
Source File: AnyTypeImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 14
Source File: AnyTypeImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 15
Source File: AnyTypeImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}
 
Example 16
Source File: AnyTypeImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public AnyTypeImpl(Navigator<T,C,?,?> nav) {
    this.type = nav.ref(Object.class);
    this.nav = nav;
}