com.sun.tools.internal.xjc.reader.TypeUtil Java Examples
The following examples show how to use
com.sun.tools.internal.xjc.reader.TypeUtil.
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: BIProperty.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #2
Source File: BIProperty.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #3
Source File: BIProperty.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #4
Source File: BIProperty.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #5
Source File: BIProperty.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #6
Source File: BIProperty.java From hottub with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #7
Source File: BIProperty.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #8
Source File: BIProperty.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
Example #9
Source File: BIConversion.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #10
Source File: BIConversion.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #11
Source File: BIConversion.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #12
Source File: BIConversion.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #13
Source File: BIConversion.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #14
Source File: BIConversion.java From hottub with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #15
Source File: BIConversion.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }
Example #16
Source File: BIConversion.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public TypeUse getTypeUse(XSSimpleType owner) { if(typeUse!=null) return typeUse; JCodeModel cm = getCodeModel(); if(inMemoryType==null) inMemoryType = TypeUtil.getType(cm,type,Ring.get(ErrorReceiver.class),getLocation()); JDefinedClass adapter = generateAdapter(parseMethodFor(owner),printMethodFor(owner),owner); // XmlJavaType customization always converts between string and an user-defined type. typeUse = TypeUseFactory.adapt(CBuiltinLeafInfo.STRING,new CAdapter(adapter)); return typeUse; }