org.apache.xmlbeans.SimpleValue.getBooleanValue()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(120)

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

SimpleValue.getBooleanValue介绍

[英]Returns the value as a boolean.
[中]以布尔值形式返回值。

代码示例

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

public boolean getBooleanValue()
{
  return ((SimpleValue)underlyingXmlObject()).getBooleanValue();
}

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

public boolean getBooleanValue()
  { check_dated(); return _value == null ? false : ((SimpleValue)_value).getBooleanValue(); }

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

return base.getBooleanValue() ? Boolean.TRUE : Boolean.FALSE;

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

public boolean getBooleanValue()
{
  return ((SimpleValue)underlyingXmlObject()).getBooleanValue();
}

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

public boolean getBooleanValue()
{
  return ((SimpleValue)underlyingXmlObject()).getBooleanValue();
}

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

public boolean getBooleanValue()
  { check_dated(); return _value == null ? false : ((SimpleValue)_value).getBooleanValue(); }

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

public boolean getBooleanValue()
  { check_dated(); return _value == null ? false : ((SimpleValue)_value).getBooleanValue(); }

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Gets array of all "value" elements
 */
public boolean[] getValueArray()
{
  synchronized (monitor())
  {
    check_orphaned();
    java.util.List targetList = new java.util.ArrayList();
    get_store().find_all_element_users(VALUE$0, targetList);
    boolean[] result = new boolean[targetList.size()];
    for (int i = 0, len = targetList.size() ; i < len ; i++)
      result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBooleanValue();
    return result;
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v311

/**
 * Gets array of all "Boolean" elements
 */
public boolean[] getBooleanArray()
{
  synchronized (monitor())
  {
    check_orphaned();
    java.util.List targetList = new java.util.ArrayList();
    get_store().find_all_element_users(BOOLEAN$0, targetList);
    boolean[] result = new boolean[targetList.size()];
    for (int i = 0, len = targetList.size() ; i < len ; i++)
      result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBooleanValue();
    return result;
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Gets the "Boolean" element
 */
public boolean getBoolean()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BOOLEAN$0, 0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v311

/**
 * Gets the "Boolean" element
 */
public boolean getBoolean()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BOOLEAN$0, 0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v311

/**
 * Gets the "directed" element
 */
public boolean getDirected()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIRECTED$2, 0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-sensorML-v101

/**
 * Gets the "privacyAct" attribute
 */
public boolean getPrivacyAct()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PRIVACYACT$4);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.wps/52n-xml-wps-v20

/**
 * Gets the "default" attribute
 */
public boolean getDefault()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFAULT$0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-ses-v00

/**
 * Gets the "BatchingSupported" element
 */
public boolean getBatchingSupported()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BATCHINGSUPPORTED$0, 0);
    if (target == null)
    {
     return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.wps/52n-wps-config

/**
 * Gets the "active" attribute
 */
public boolean getActive()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTIVE$8);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Gets the "AllowCreate" attribute
 */
public boolean getAllowCreate()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ALLOWCREATE$4);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "is_controlled" element
 */
public boolean getIsControlled()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCONTROLLED$2, 0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "is_pending" element
 */
public boolean getIsPending()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPENDING$8, 0);
    if (target == null)
    {
      return false;
    }
    return target.getBooleanValue();
  }
}

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

boolean bool = ((SimpleValue)v).getBooleanValue();
set_prepare();
set_boolean(bool);

相关文章

微信公众号

最新文章

更多

SimpleValue类方法