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; } } } }
public System.Collections.IEnumerator GetEnumerator() { return attrList.GetEnumerator(); }
/** @property */ public int get_Count() { return attrList.get_Count(); }
/** @property */ public Attribute get_Item(int Index) { return (Attribute) attrList.get_Item(Index); }
public void Add(Attribute metaTag) { attrList.Add(metaTag); }
/** @property */ public int get_Count() { return tagList.get_Count(); }
/** @property */ public MetaTag get_Item(int Index) { return (MetaTag) tagList.get_Item(Index); }
public void Add(MetaTag metaTag) { tagList.Add(metaTag); }