gpt4 book ai didi

org.apache.xmlbeans.impl.values.XmlObjectBase.setNil()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 01:57:05 36 4
gpt4 key购买 nike

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

XmlObjectBase.setNil介绍

[英]Nils the value.
[中]值为零。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setStringValue(String obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_String(obj); /* strings are special, so set_String does its own commit.*/ } } }

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setByteArrayValue(byte[] obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_ByteArray(obj); set_commit(); } } }
public final void setEnumValue(StringEnumAbstractBase obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setEnumValue(StringEnumAbstractBase obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_enum(obj); set_commit(); } } }
public final void setBigIntegerValue(BigInteger obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setDateValue(Date obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_Date(obj); set_commit(); } } }
public final void setGDateValue(GDate obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setGDurationValue(GDuration obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDuration(obj); set_commit(); } } }
public final void setGDurationValue(GDurationSpecification obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setListValue(List obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_list(obj); set_commit(); } } }
public final void setStringValue(String obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setGDateValue(GDate obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDate(obj); set_commit(); } } }
public final void setGDateValue(GDateSpecification obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setBigIntegerValue(BigInteger obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_BigInteger(obj); set_commit(); } } }
public final void setBigDecimalValue(BigDecimal obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setCalendarValue(Calendar obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_Calendar(obj); set_commit(); } } }
public final void setDateValue(Date obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setGDurationValue(GDurationSpecification obj)
{ if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDuration(obj); set_commit(); } } }
public final void setQNameValue(QName obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setBigDecimalValue(BigDecimal obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_BigDecimal(obj); set_commit(); } } }
public final void setCalendarValue(Calendar obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setGDateValue(GDateSpecification obj)
{ if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDate(obj); set_commit(); } } }
public final void setGDurationValue(GDuration obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public final void setQNameValue(QName obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_QName(obj); set_commit(); } } }
public final void setListValue(List obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

setNil();
return;

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

/**
 * Same as set() but unsynchronized.
 * Warning: Using this method in mutithreaded environment can cause invalid states.
 */
public final XmlObject _set(XmlObject src)
{
  if (isImmutable())
    throw new IllegalStateException("Cannot set the value of an immutable XmlObject");
  XmlObjectBase obj = underlying(src);
  TypeStoreUser newObj = this;
  if (obj == null)
  {
    setNil();
    return this;
  }
  if (obj.isImmutable())
    set(obj.stringValue());
  else
  {
    check_orphaned();
    obj.check_orphaned();
    newObj = get_store().copy_contents_from( obj.get_store() ).
      get_store().change_type( obj.schemaType() );
  }
  return (XmlObject) newObj;
}

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

setNil();
return this;

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

target.setNil();
return target;

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public final void setCalendarValue(Calendar obj)
  { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_Calendar(obj); set_commit(); } } }
public final void setDateValue(Date obj)

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public final void setGDateValue(GDateSpecification obj)
{ if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_GDate(obj); set_commit(); } } }
public final void setGDurationValue(GDuration obj)

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

setNil();
return;

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com