示例#1
0
    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;
        }
      }
    }
示例#2
0
    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;
          }
        }
      }
    }
示例#3
0
 public System.Collections.IEnumerator GetEnumerator() {
   return attrList.GetEnumerator();
 }
示例#4
0
 /** @property */
 public int get_Count() {
   return attrList.get_Count();
 }
示例#5
0
 /** @property */
 public Attribute get_Item(int Index) {
   return (Attribute) attrList.get_Item(Index);
 }
示例#6
0
 public void Add(Attribute metaTag) {
   attrList.Add(metaTag);
 }
示例#7
0
 /** @property */
 public int get_Count() {
   return tagList.get_Count();
 }
示例#8
0
 /** @property */
 public MetaTag get_Item(int Index) {
   return (MetaTag) tagList.get_Item(Index);
 }
示例#9
0
 public void Add(MetaTag metaTag) {
   tagList.Add(metaTag);
 }