所有类


javax.swing.text.html.parser
类 AttributeList

java.lang.Object
  继承者 javax.swing.text.html.parser.AttributeList
所有已实现的接口:
Serializable, DTDConstants

public final class AttributeList
   
   
   
   
extends Object
implements DTDConstants, Serializable

此类使用 ATTLIST 构造定义 DTD 中描述的 SGML 元素的属性。可以使用 getAttributes() 方法从 Element 类中获取 AttributeList。

它实际上是链接列表中的一个元素。重复使用 getNext() 方法来枚举一个元素的所有属性。

另请参见:
Element

字段摘要
 intmodifier
           
 Stringname
           
 AttributeListnext
           
 inttype
           
 Stringvalue
           
 Vector<?>values
           
 
从接口 javax.swing.text.html.parser.DTDConstants 继承的字段
ANY, CDATA, CONREF, CURRENT, DEFAULT, EMPTY, ENDTAG, ENTITIES, ENTITY, FIXED, GENERAL, ID, IDREF, IDREFS, IMPLIED, MD, MODEL, MS, NAME, NAMES, NMTOKEN, NMTOKENS, NOTATION, NUMBER, NUMBERS, NUTOKEN, NUTOKENS, PARAMETER, PI, PUBLIC, RCDATA, REQUIRED, SDATA, STARTTAG, SYSTEM
 
构造方法摘要
AttributeList(String name)
          创建一个属性列表元素。
AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next)
          创建一个属性列表元素。
 
方法摘要
 intgetModifier()
           
 StringgetName()
           
 AttributeListgetNext()
           
 intgetType()
           
 StringgetValue()
           
 Enumeration<?>getValues()
           
static intname2type(String nm)
           
 StringtoString()
          返回该对象的字符串表示。
static Stringtype2name(int tp)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

name

public String name

type

public int type

values

public Vector<?> values

modifier

public int modifier

value

public String value

next

public AttributeList next
构造方法详细信息

AttributeList

public AttributeList(String name)
创建一个属性列表元素。


AttributeList

public AttributeList(String name,
                     int type,
                     int modifier,
                     String value,
                     Vector<?> values,
                     AttributeList next)
创建一个属性列表元素。

方法详细信息

getName

public String getName()
返回:
属性名