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

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

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

SimpleValue.getIntValue介绍

[英]Returns the value as an int.
[中]以int形式返回值。

代码示例

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

public int getIntValue()
{
  return ((SimpleValue)underlyingXmlObject()).getIntValue();
}

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

public int getIntValue()
  { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).getIntValue(); }

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

if (min != null)
  int len = min.getIntValue();
  while (result.length() < len)
    result = result + result;
if (max != null)
  int len = max.getIntValue();
  if (result.length() > len)
    result = result.substring(0, len);

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

if ((i = ((SimpleValue)o).getIntValue()) != items.size())
if ((i = ((SimpleValue)o).getIntValue()) > items.size())
if ((i = ((SimpleValue)o).getIntValue()) < items.size())

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

if ((i = ((SimpleValue)o).getIntValue()) != items.length)
if ((i = ((SimpleValue)o).getIntValue()) > items.length)
if ((i = ((SimpleValue)o).getIntValue()) < items.length)

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

return new Integer(base.getIntValue());

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

public int getIntValue()
{
  return ((SimpleValue)underlyingXmlObject()).getIntValue();
}

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

public int getIntValue()
{
  return ((SimpleValue)underlyingXmlObject()).getIntValue();
}

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

public int getIntValue()
  { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).getIntValue(); }

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

public int getIntValue()
  { check_dated(); return _value == null ? 0 : ((SimpleValue)_value).getIntValue(); }

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

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

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

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

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

/**
 * Gets the "minutes" element
 */
public int getMinutes()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINUTES$0, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

/**
 * Gets the "minutes" element
 */
public int getMinutes()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINUTES$4, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

/**
 * Gets the "minutes" element
 */
public int getMinutes()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINUTES$4, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

/**
 * Gets the "minutes" element
 */
public int getMinutes()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINUTES$0, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

/**
 * Gets the "processorsPerNode" element
 */
public int getProcessorsPerNode()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCESSORSPERNODE$12, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

/**
 * Gets the "value" element
 */
public int getValue()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

代码示例来源:origin: org.apache.airavata/airavata-workflow-tracking

/**
 * Gets the "workflowTimestep" attribute
 */
public int getWorkflowTimestep()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WORKFLOWTIMESTEP$8);
    if (target == null)
    {
      return 0;
    }
    return target.getIntValue();
  }
}

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

int i = ((SimpleValue)v).getIntValue();
set_prepare();
set_int(i);

相关文章

微信公众号

最新文章

更多

SimpleValue类方法