gpt4 book ai didi

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

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

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

XmlObjectBase.check_element_dated介绍

[英]Called before every set and get, to ensure that we have a correct picture of whether we're nillable, fixed, or if we have a default that can be applied.
[中]在每个集合和get之前调用,以确保我们正确地了解我们是否为零、已修复,或者是否有可以应用的默认值。

代码示例

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

/**
 * True if the value is allowed to be nil.
 */
public final boolean isNillable()
{
  check_element_dated();
  return ((_flags & FLAG_NILLABLE) != 0);
}

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

/**
 * True if the value is currently defaulted.
 */
public final boolean isDefaultable()
{
  check_element_dated();
  return ((_flags & FLAG_HASDEFAULT) != 0);
}

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

/**
 * True if the value is fixed.
 */
public final boolean isFixed()
{
  check_element_dated();
  return ((_flags & FLAG_FIXED) != 0);
}

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

/**
 * Used for situations where these flags must be passed on to
 * chained values. (See XmlAnySimpleType (allSimpleValue), union
 * implementations).
 */
protected int elementFlags()
{
  check_element_dated();
  return (_flags & FLAGS_ELEMENT);
}

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

/**
 * Called before every set operation (except for the
 * special case of setting a string) to:
 * (1) get the nillable, fixed, etc flags
 * (2) throw an exception if it's fixed (not for strings)
 */
private final void set_prepare()
{
  check_element_dated();
  if ((_flags & FLAG_IMMUTABLE) != 0)
    throw new IllegalStateException();
}

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

/**
 * Used for situations where these flags must be passed on to
 * chained values. (See XmlAnySimpleType (allSimpleValue), union
 * implementations).
 */
protected int elementFlags()
{
  check_element_dated();
  return (_flags & FLAGS_ELEMENT);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

/**
 * Used for situations where these flags must be passed on to
 * chained values. (See XmlAnySimpleType (allSimpleValue), union
 * implementations).
 */
protected int elementFlags()
{
  check_element_dated();
  return (_flags & FLAGS_ELEMENT);
}

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

/**
 * True if the value is allowed to be nil.
 */
public final boolean isNillable()
{
  check_element_dated();
  return ((_flags & FLAG_NILLABLE) != 0);
}

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

/**
 * True if the value is currently defaulted.
 */
public final boolean isDefaultable()
{
  check_element_dated();
  return ((_flags & FLAG_HASDEFAULT) != 0);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

/**
 * True if the value is allowed to be nil.
 */
public final boolean isNillable()
{
  check_element_dated();
  return ((_flags & FLAG_NILLABLE) != 0);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

/**
 * True if the value is currently defaulted.
 */
public final boolean isDefaultable()
{
  check_element_dated();
  return ((_flags & FLAG_HASDEFAULT) != 0);
}

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

/**
 * True if the value is fixed.
 */
public final boolean isFixed()
{
  check_element_dated();
  return ((_flags & FLAG_FIXED) != 0);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

/**
 * True if the value is fixed.
 */
public final boolean isFixed()
{
  check_element_dated();
  return ((_flags & FLAG_FIXED) != 0);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

/**
 * Called before every set operation (except for the
 * special case of setting a string) to:
 * (1) get the nillable, fixed, etc flags
 * (2) throw an exception if it's fixed (not for strings)
 */
private final void set_prepare()
{
  check_element_dated();
  if ((_flags & FLAG_IMMUTABLE) != 0)
    throw new IllegalStateException();
}

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

/**
 * Called before every set operation (except for the
 * special case of setting a string) to:
 * (1) get the nillable, fixed, etc flags
 * (2) throw an exception if it's fixed (not for strings)
 */
private final void set_prepare()
{
  check_element_dated();
  if ((_flags & FLAG_IMMUTABLE) != 0)
    throw new IllegalStateException();
}

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

check_element_dated();

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

check_element_dated();

代码示例来源:origin: com.github.pjfanning/xmlbeans

check_element_dated();

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