public SchemaType instanceType() { return ((SimpleValue)underlyingXmlObject()).instanceType(); }
public SchemaType instanceType() { check_dated(); return _value == null ? null : ((SimpleValue)_value).instanceType(); }
private static boolean permits_inner_space(XmlObject obj) { switch (((SimpleValue)obj).instanceType().getPrimitiveType().getBuiltinTypeCode()) { case SchemaType.BTC_STRING: case SchemaType.BTC_ANY_URI: case SchemaType.BTC_ANY_SIMPLE: case SchemaType.BTC_ANY_TYPE: return true; default: return false; } }
protected boolean equal_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_BIG_INTEGER) return i.valueEquals(this); return _value.equals(((XmlObjectBase)i).bigIntegerValue()); }
protected int compare_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_BIG_INTEGER) return -i.compareTo(this); return _value.compareTo(((XmlObjectBase)i).bigIntegerValue()); }
protected boolean equal_to(XmlObject l) { if (((SimpleValue)l).instanceType().getDecimalSize() > SchemaType.SIZE_LONG) return l.valueEquals(this); return _value == ((XmlObjectBase)l).longValue(); }
protected boolean equal_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT) return i.valueEquals(this); return _value == ((XmlObjectBase)i).intValue(); }
protected int compare_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT) return -i.compareTo(this); return _value == ((XmlObjectBase)i).intValue() ? 0 : _value < ((XmlObjectBase)i).intValue() ? -1 : 1; }
protected int compare_to(XmlObject l) { if (((SimpleValue)l).instanceType().getDecimalSize() > SchemaType.SIZE_LONG) return -l.compareTo(this); return _value == ((XmlObjectBase)l).longValue() ? 0 : _value < ((XmlObjectBase)l).longValue() ? -1 : 1; }
private final boolean valueEqualsImpl(XmlObject xmlobj) { check_dated(); SchemaType typethis = instanceType(); SchemaType typeother = ((SimpleValue)xmlobj).instanceType(); if (typethis == null && typeother == null) // detects nil return true; if (typethis == null || typeother == null) return false; if (!comparable_value_spaces(typethis, typeother)) return false; if (xmlobj.schemaType().getSimpleVariety() == SchemaType.UNION) return (underlying(xmlobj)).equal_to(this); return equal_to(xmlobj); }
return obj; SchemaType instanceType = ((SimpleValue)obj).instanceType(); assert(instanceType != null) : "Nil case should have been handled above";
return; SchemaType iType = ((SimpleValue)value).instanceType(); if (iType == null)
type2 = ((SimpleValue)xmlobj).instanceType();
public SchemaType instanceType() { return ((SimpleValue)underlyingXmlObject()).instanceType(); }
protected boolean equal_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_BIG_INTEGER) return i.valueEquals(this); return _value.equals(((XmlObjectBase)i).bigIntegerValue()); }
protected boolean equal_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT) return i.valueEquals(this); return _value == ((XmlObjectBase)i).intValue(); }
protected boolean equal_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT) return i.valueEquals(this); return _value == ((XmlObjectBase)i).intValue(); }
protected int compare_to(XmlObject i) { if (((SimpleValue)i).instanceType().getDecimalSize() > SchemaType.SIZE_INT) return -i.compareTo(this); return _value == ((XmlObjectBase)i).intValue() ? 0 : _value < ((XmlObjectBase)i).intValue() ? -1 : 1; }
protected int compare_to(XmlObject l) { if (((SimpleValue)l).instanceType().getDecimalSize() > SchemaType.SIZE_LONG) return -l.compareTo(this); return _value == ((XmlObjectBase)l).longValue() ? 0 : _value < ((XmlObjectBase)l).longValue() ? -1 : 1; }
SchemaType instanceType = ((SimpleValue)v).instanceType(); assert(instanceType != null) : "Nil case should have been handled already";