Back to project page android-nextbus.
The source code is released under:
MIT License
If you think the Android project android-nextbus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.andrei.nextbus.library.parsers; //from w w w . j av a 2s . co m public class XmlTagFilter { private int wantedDepth; private String wantedTag; private String wantedAttribute; private String wantedAtributeValue; public XmlTagFilter (int depth, String wantedTag){ this.wantedDepth = depth; this.wantedTag = wantedTag; } public int getDepth (){ return wantedDepth; } public String getTag (){ return wantedTag; } public String getAttribute (){ return wantedAttribute; } public String getAttributeValue (){ return wantedAtributeValue; } public void setAttrributeSpec (String attrib,String value){ this.wantedAttribute = attrib; this.wantedAtributeValue = value; } }