本文整理了Java中org.apache.xmlbeans.SimpleValue.getBigIntegerValue()
方法的一些代码示例,展示了SimpleValue.getBigIntegerValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimpleValue.getBigIntegerValue()
方法的具体详情如下:
包路径:org.apache.xmlbeans.SimpleValue
类名称:SimpleValue
方法名:getBigIntegerValue
[英]Returns the value as a BigInteger.
[中]以BigInteger的形式返回值。
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
public BigInteger getBigIntegerValue()
{
return ((SimpleValue)underlyingXmlObject()).getBigIntegerValue();
}
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
public BigInteger getBigIntegerValue()
{ check_dated(); return _value == null ? null : ((SimpleValue)_value).getBigIntegerValue(); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
private static boolean check(String v, SchemaType sType)
{
int length = v==null ? 0 : v.length();
// check against length
XmlObject len = sType.getFacet(SchemaType.FACET_LENGTH);
if (len != null)
{
int m = ((SimpleValue)len).getBigIntegerValue().intValue();
if (!(length != m))
return false;
}
// check against min length
XmlObject min = sType.getFacet(SchemaType.FACET_MIN_LENGTH);
if (min != null)
{
int m = ((SimpleValue)min).getBigIntegerValue().intValue();
if (!(length >= m))
return false;
}
// check against min length
XmlObject max = sType.getFacet(SchemaType.FACET_MAX_LENGTH);
if (max != null)
{
int m = ((SimpleValue)max).getBigIntegerValue().intValue();
if (!(length <= m))
return false;
}
return true;
}
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
((SimpleValue)sImpl.getFacet(SchemaType.FACET_FRACTION_DIGITS)).getBigIntegerValue().signum() != 0)
return SchemaType.SIZE_BIG_DECIMAL;
min = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MIN_EXCLUSIVE)).getBigIntegerValue(); // .add(BigInteger.ONE);
if (sImpl.getFacet(SchemaType.FACET_MIN_INCLUSIVE) != null)
min = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MIN_INCLUSIVE)).getBigIntegerValue();
if (sImpl.getFacet(SchemaType.FACET_MAX_INCLUSIVE) != null)
max = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MAX_INCLUSIVE)).getBigIntegerValue();
if (sImpl.getFacet(SchemaType.FACET_MAX_EXCLUSIVE) != null)
max = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_MAX_EXCLUSIVE)).getBigIntegerValue(); // .subtract(BigInteger.ONE);
try
BigInteger totalDigits = ((SimpleValue)sImpl.getFacet(SchemaType.FACET_TOTAL_DIGITS)).getBigIntegerValue();
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
if ((i = ((SimpleValue)x).getBigIntegerValue().intValue()) != v.length())
context.invalid(XmlErrorCodes.DATATYPE_LENGTH_VALID$STRING,
new Object[] { "anyURI", v, new Integer(i), QNameHelper.readable(sType) });
if ((i = ((SimpleValue)x).getBigIntegerValue().intValue()) > v.length())
context.invalid(XmlErrorCodes.DATATYPE_MIN_LENGTH_VALID$STRING,
new Object[] { "anyURI", v, new Integer(i), QNameHelper.readable(sType) });
if ((i = ((SimpleValue)x).getBigIntegerValue().intValue()) < v.length())
context.invalid(XmlErrorCodes.DATATYPE_MAX_LENGTH_VALID$STRING,
new Object[] { "anyURI", v, new Integer(i), QNameHelper.readable(sType) });
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
return base.getBigIntegerValue();
代码示例来源:origin: com.github.pjfanning/xmlbeans
public BigInteger getBigIntegerValue()
{
return ((SimpleValue)underlyingXmlObject()).getBigIntegerValue();
}
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
public BigInteger getBigIntegerValue()
{
return ((SimpleValue)underlyingXmlObject()).getBigIntegerValue();
}
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
public BigInteger getBigIntegerValue()
{ check_dated(); return _value == null ? null : ((SimpleValue)_value).getBigIntegerValue(); }
代码示例来源:origin: com.github.pjfanning/xmlbeans
public BigInteger getBigIntegerValue()
{ check_dated(); return _value == null ? null : ((SimpleValue)_value).getBigIntegerValue(); }
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v311
/**
* Gets array of all "Count" elements
*/
public java.math.BigInteger[] getCountArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(COUNT$6, targetList);
java.math.BigInteger[] result = new java.math.BigInteger[targetList.size()];
for (int i = 0, len = targetList.size() ; i < len ; i++)
result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBigIntegerValue();
return result;
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets array of all "modifiedCoordinate" elements
*/
public java.math.BigInteger[] getModifiedCoordinateArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(MODIFIEDCOORDINATE$0, targetList);
java.math.BigInteger[] result = new java.math.BigInteger[targetList.size()];
for (int i = 0, len = targetList.size() ; i < len ; i++)
result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBigIntegerValue();
return result;
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v311
/**
* Gets array of all "modifiedCoordinate" elements
*/
public java.math.BigInteger[] getModifiedCoordinateArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(MODIFIEDCOORDINATE$0, targetList);
java.math.BigInteger[] result = new java.math.BigInteger[targetList.size()];
for (int i = 0, len = targetList.size() ; i < len ; i++)
result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getBigIntegerValue();
return result;
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets ith "modifiedCoordinate" element
*/
public java.math.BigInteger getModifiedCoordinateArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODIFIEDCOORDINATE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets the "targetDimensions" element
*/
public java.math.BigInteger getTargetDimensions()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TARGETDIMENSIONS$0, 0);
if (target == null)
{
return null;
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets the "radix" attribute
*/
public java.math.BigInteger getRadix()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RADIX$2);
if (target == null)
{
return null;
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets the "degree" element
*/
public java.math.BigInteger getDegree()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREE$10, 0);
if (target == null)
{
return null;
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321
/**
* Gets the "count" attribute
*/
public java.math.BigInteger getCount()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COUNT$8);
if (target == null)
{
return null;
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-sweCommon-v20
/**
* Gets the "paddingBytes-after" attribute
*/
public java.math.BigInteger getPaddingBytesAfter()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PADDINGBYTESAFTER$4);
if (target == null)
{
return null;
}
return target.getBigIntegerValue();
}
}
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
BigInteger bi = ((SimpleValue)v).getBigIntegerValue();
set_prepare();
set_BigInteger(bi);
内容来源于网络,如有侵权,请联系作者删除!