protected boolean equal_to(XmlObject obj) { return _value.equals(((XmlObjectBase)obj).stringValue()); }
/** * Same as set() but unsynchronized. * Warning: Using this method in mutithreaded environment can cause invalid states. */ public final XmlObject _set(XmlObject src) { if (isImmutable()) throw new IllegalStateException("Cannot set the value of an immutable XmlObject"); XmlObjectBase obj = underlying(src); TypeStoreUser newObj = this; if (obj == null) { setNil(); return this; } if (obj.isImmutable()) set(obj.stringValue()); else { check_orphaned(); obj.check_orphaned(); newObj = get_store().copy_contents_from( obj.get_store() ). get_store().change_type( obj.schemaType() ); } return (XmlObject) newObj; }
protected boolean equal_to(XmlObject obj) { return _value.equals(((XmlObjectBase)obj).stringValue()); }
protected boolean equal_to(XmlObject obj) { return _value.equals(((XmlObjectBase)obj).stringValue()); }
/** * Same as set() but unsynchronized. * Warning: Using this method in mutithreaded environment can cause invalid states. */ public final XmlObject _set(XmlObject src) { if (isImmutable()) throw new IllegalStateException("Cannot set the value of an immutable XmlObject"); XmlObjectBase obj = underlying(src); TypeStoreUser newObj = this; if (obj == null) { setNil(); return this; } if (obj.isImmutable()) set(obj.stringValue()); else newObj = setterHelper( obj ); return (XmlObject) newObj; }
/** * Same as set() but unsynchronized. * Warning: Using this method in mutithreaded environment can cause invalid states. */ public final XmlObject _set(XmlObject src) { if (isImmutable()) throw new IllegalStateException("Cannot set the value of an immutable XmlObject"); XmlObjectBase obj = underlying(src); TypeStoreUser newObj = this; if (obj == null) { setNil(); return this; } if (obj.isImmutable()) set(obj.stringValue()); else { check_orphaned(); obj.check_orphaned(); newObj = get_store().copy_contents_from( obj.get_store() ). get_store().change_type( obj.schemaType() ); } return (XmlObject) newObj; }