5859606162636465666768
/** * Create a wrapper over a new HasParentFilter. */ public HasSiblingFilterWrapper () { mFilter = new HasSiblingFilter (); // add the subfilter container mContainer = new SubFilterList (this, "Sibling Filter", 1); add (mContainer); }
949596979899100101102103104105106107108
* @return The node filter object suitable for serialization. */ public NodeFilter getNodeFilter () { NodeFilter filter; HasSiblingFilter ret; ret = new HasSiblingFilter (); filter = mFilter.getSiblingFilter (); if (null != filter) ret.setSiblingFilter (((Filter)filter).getNodeFilter ()); return (ret); }