/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Forces the object to release it's resources. This is more harsh than * detach(). */ public void destruct() { if (null != m_obj) { allowDetachToRelease(true); detach(); setObject(null); } }
/** * Forces the object to release it's resources. This is more harsh than * detach(). */ public void destruct() { if (null != m_obj) { allowDetachToRelease(true); detach(); setObject(null); } }
super.setObject(nv);
super.setObject(nv);
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Create an XObject. * * @param obj Can be any object, should be a specific type * for derived classes, or null. */ public XObject(Object obj) { setObject(obj); }
/** * Return a java object that's closest to the representation * that should be handed to an extension. * * @return The value of this XNumber as a Double object */ public Object object() { if(null == m_obj) setObject(new Double(m_val)); return m_obj; }
/** * Construct a XNodeSet object. * * @param num Value of the object */ public XNumber(Number num) { super(); m_val = num.doubleValue(); setObject(num); }
/** * Return a java object that's closest to the representation * that should be handed to an extension. * * @return The value of this XNumber as a Double object */ public Object object() { if(null == m_obj) setObject(new Double(m_val)); return m_obj; }
/** * Construct a XBoolean object. * * @param b Value of the boolean object */ public XBoolean(Boolean b) { super(); m_val = b.booleanValue(); setObject(b); }
/** * Return a java object that's closest to the representation * that should be handed to an extension. * * @return The object's value as a java object */ public Object object() { if(null == m_obj) setObject(new Boolean(m_val)); return m_obj; }
/** * Return a java object that's closest to the representation * that should be handed to an extension. * * @return The object's value as a java object */ public Object object() { if(null == m_obj) setObject(new Boolean(m_val)); return m_obj; }