public final class AttributeList extends Object implements DTDConstants, Serializable
它实际上是链表中的一个元素。 重复使用getNext()方法枚举元素的所有属性。
Element 
       | Modifier and Type | Field and Description | 
|---|---|
| int | modifier | 
| String | name | 
| AttributeList | next | 
| int | type | 
| String | value | 
| Vector<?> | values | 
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| Constructor and Description | 
|---|
| AttributeList(String name)
              创建属性列表元素。 
             | 
| AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next)
              创建属性列表元素。 
             | 
public String name
public int type
public Vector<?> values
public int modifier
public String value
public AttributeList next
public AttributeList(String name)
public AttributeList(String name, int type, int modifier, String value, Vector<?> values, AttributeList next)
public String getName()
public int getType()
DTDConstants 
           public int getModifier()
DTDConstants 
           public Enumeration<?> getValues()
public String getValue()
public AttributeList getNext()
public String toString()
Object 
          toString方法返回一个字符串,“文本地表示”此对象。 
           结果应该是一个简明扼要的表达,容易让人阅读。 
           建议所有子类覆盖此方法。 
            该toString类方法Object返回一个由其中的对象是一个实例,该符号字符`的类的名称的字符串@ ”和对象的哈希码的无符号的十六进制表示。 换句话说,这个方法返回一个等于下列值的字符串: 
getClass().getName() + '@' + Integer.toHexString(hashCode())
public static int name2type(String nm)
public static String type2name(int tp)
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.