javax.xml.bind.annotation.XmlType.factoryClass()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(140)

本文整理了Java中javax.xml.bind.annotation.XmlType.factoryClass()方法的一些代码示例,展示了XmlType.factoryClass()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlType.factoryClass()方法的具体详情如下:
包路径:javax.xml.bind.annotation.XmlType
类名称:XmlType
方法名:factoryClass

XmlType.factoryClass介绍

暂无

代码示例

代码示例来源:origin: com.sun.xml.bind/jaxb-impl

public Class factoryClass() {
  return core.factoryClass();
}

代码示例来源:origin: org.glassfish.jaxb/jaxb-runtime

public Class factoryClass() {
  return core.factoryClass();
}

代码示例来源:origin: resteasy/Resteasy

if (!typeAnnotation.factoryClass().equals(XmlType.DEFAULT.class)) return null;
final StringBuilder b = new StringBuilder(getPackageName(type));
b.append(OBJECT_FACTORY_NAME);

代码示例来源:origin: apache/servicemix-bundles

public Class factoryClass() {
  return core.factoryClass();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl

public Class factoryClass() {
  return core.factoryClass();
}

代码示例来源:origin: wso2/wso2-synapse

return null;
Class<?> factoryClass = xmlType.factoryClass();
if (factoryClass == XmlType.DEFAULT.class) {
  String defaultObjectFactoryName = type.getPackage().getName() + ".ObjectFactory";

代码示例来源:origin: org.wso2.staxon/staxon

return null;
Class<?> factoryClass = xmlType.factoryClass();
if (factoryClass == XmlType.DEFAULT.class) {
  String defaultObjectFactoryName = type.getPackage().getName() + ".ObjectFactory";

代码示例来源:origin: beckchr/staxon

return null;
Class<?> factoryClass = xmlType.factoryClass();
if (factoryClass == XmlType.DEFAULT.class) {
  String defaultObjectFactoryName = type.getPackage().getName() + ".ObjectFactory";

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

String factoryClassFqn = null;
try {
 Class factoryClass = xmlType.factoryClass();
 if (factoryClass != javax.xml.bind.annotation.XmlType.DEFAULT.class) {
  factoryClassFqn = factoryClass.getName();

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

String factoryClassFqn = null;
try {
 Class factoryClass = xmlType.factoryClass();
 if (factoryClass != javax.xml.bind.annotation.XmlType.DEFAULT.class) {
  factoryClassFqn = factoryClass.getName();

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.moxy

Class factoryClass = typeAnnotation.factoryClass(); // 21 factoryClass=java.lang.Class"class javax.xml.bind.annotation.XmlType$DEFAULT"
if (factoryClass == DEFAULT.class) {
  xmlType.setFactoryClass("javax.xml.bind.annotation.XmlType.DEFAULT"); // 22

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

Class factoryClass = typeAnnotation.factoryClass(); // 21 factoryClass=java.lang.Class"class javax.xml.bind.annotation.XmlType$DEFAULT"
if (factoryClass == DEFAULT.class) {
  xmlType.setFactoryClass("javax.xml.bind.annotation.XmlType.DEFAULT"); // 22

相关文章