⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmltag.java

📁 java版的网络蚂蚁软件
💻 JAVA
字号:
/** * The HTMLTag class is used to store an HTML tag.  This * includes the tag name and any attributes. * * Copyright 2001-2003 by Jeff Heaton (http://www.jeffheaton.com) * * @author Jeff Heaton * @version 1.2 */package com.heaton.bot;import com.heaton.bot.*;public class HTMLTag extends AttributeList implements Cloneable {  protected String name;  public Object clone()  {    int i;    AttributeList rtn = new AttributeList();    for ( i=0;i<vec.size();i++ )      rtn.add( (Attribute)get(i).clone() );    rtn.setName(name);    return rtn;  }  public void setName(String s)  {    name = s;  }  public String getName()  {    return name;  }  public String getAttributeValue(String name)  {    Attribute a = get(name);    if ( a==null )      return null;    return a.getValue();  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -