Package org.htmlparser.filters

Examples of org.htmlparser.filters.HasSiblingFilter


    /**
     * 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);
    }
View Full Code Here


     * @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);
    }
View Full Code Here

TOP

Related Classes of org.htmlparser.filters.HasSiblingFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.