SchemaType instanceType = ((SimpleValue)obj).instanceType(); assert(instanceType != null) : "Nil case should have been handled above"; return ((SimpleValue)obj).getListValue(); return base.getBooleanValue() ? Boolean.TRUE : Boolean.FALSE; return base.getByteArrayValue(); return base.getQNameValue(); return new Float(base.getFloatValue()); return new Double(base.getDoubleValue()); return new Byte(base.getByteValue()); return new Short(base.getShortValue()); return new Integer(base.getIntValue()); return new Long(base.getLongValue()); return base.getBigIntegerValue(); return base.getBigDecimalValue(); return base.getStringValue();
public void setStringValue(String obj) { ((SimpleValue)underlyingXmlObject()).setStringValue(obj); }
public StringEnumAbstractBase getEnumValue() { return ((SimpleValue)underlyingXmlObject()).getEnumValue(); }
String e = ((SimpleValue)vals[i]).getStringValue(); 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) });
public String toString() { StringBuffer b = new StringBuffer(); for (int i = 0 ; i < _objects.length ; i++) { if (i != 0) b.append(" "); b.append(prettytrim(((SimpleValue)_objects[i]).getStringValue())); } return b.toString(); } }
SchemaType instanceType = ((SimpleValue)v).instanceType(); assert(instanceType != null) : "Nil case should have been handled already"; set_list(((SimpleValue)v).xgetListValue()); set_commit(); return; boolean bool = ((SimpleValue)v).getBooleanValue(); set_prepare(); set_boolean(bool); byte[] byteArr = ((SimpleValue)v).getByteArrayValue(); set_prepare(); set_b64(byteArr); byte[] byteArr = ((SimpleValue)v).getByteArrayValue(); set_prepare(); set_hex(byteArr); QName name = ((SimpleValue)v).getQNameValue(); set_prepare(); set_QName(name); float f = ((SimpleValue)v).getFloatValue(); set_prepare(); set_float(f); double d = ((SimpleValue)v).getDoubleValue(); set_prepare();
public void setEnumValue(StringEnumAbstractBase obj) { ((SimpleValue)underlyingXmlObject()).setEnumValue(obj); }
public void setBooleanValue(boolean v) { ((SimpleValue)underlyingXmlObject()).setBooleanValue(v); }
public boolean getBooleanValue() { return ((SimpleValue)underlyingXmlObject()).getBooleanValue(); }
public Object getObjectValue() { return ((SimpleValue)underlyingXmlObject()).getObjectValue(); }
public void setObjectValue(Object obj) { ((SimpleValue)underlyingXmlObject()).setObjectValue(obj); }
public Calendar getCalendarValue() { return ((SimpleValue)underlyingXmlObject()).getCalendarValue(); }
private static String compute_list_text(List xList) { if (xList.size() == 0) return ""; StringBuffer sb = new StringBuffer(); sb.append(nullAsEmpty(((SimpleValue)xList.get(0)).getStringValue())); for (int i = 1; i < xList.size(); i++) { sb.append(' '); sb.append(nullAsEmpty(((SimpleValue)xList.get(i)).getStringValue())); } return sb.toString(); }
public void setEnumValue(StringEnumAbstractBase obj) { ((SimpleValue)underlyingXmlObject()).setEnumValue(obj); }
public void setBooleanValue(boolean v) { ((SimpleValue)underlyingXmlObject()).setBooleanValue(v); }
public boolean getBooleanValue() { check_dated(); return _value == null ? false : ((SimpleValue)_value).getBooleanValue(); }
public Object getObjectValue() { return ((SimpleValue)underlyingXmlObject()).getObjectValue(); }
public void setObjectValue(Object obj) { ((SimpleValue)underlyingXmlObject()).setObjectValue(obj); }
public Calendar getCalendarValue() { check_dated(); return _value == null ? null : ((SimpleValue)_value).getCalendarValue(); }
/** * Inserts the value as the ith "axisName" element */ public void insertAxisName(int i, java.lang.String axisName) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(AXISNAME$4, i); target.setStringValue(axisName); } }