private void GetAttributes(MetaTagAttributes attrs, String Name, boolean stopAfterFirst) { Attribute attr; for (int x = 0; x < attrList.get_Count(); x++) { attr = get_Item(x); if (attr.name.equalsIgnoreCase(Name)) { attrs.Add(attr); if (stopAfterFirst) break; } } }
private void GetMetaTags(MetaTags tags, String Name, boolean stopAfterFirst) { MetaTag tag; for (int x = 0; x < tagList.get_Count(); x++) { tag = get_Item(x); if (tag != null) { if (tag.get_Name().equalsIgnoreCase(Name)) { tags.Add(tag); if (stopAfterFirst) break; } } } }
/** @property */ public int get_Count() { return attrList.get_Count(); }
/** @property */ public int get_Count() { return tagList.get_Count(); }