content
内容模型
Serializable , DTDConstants
int
boolean
true 如果可以省略结束标记
boolean
true 如果开始标签可以省略
int
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
getAttribute(String name)
getAttributeByValue(String value)
int
getIndex()
getName()
int
getType()
boolean
isEmpty()
static int
nm 转换为类型。
boolean
omitEnd()
boolean
toString()
true 如果开始标签可以省略
true 如果可以省略结束标记
true 如果开始标签可以省略
true 如果可以省略结束标记
AttributeList 指定元素
name - 属性名称
name 的 AttributeList
value - 值的字符串表示
value 的 AttributeList
nm 转换为类型。如果 nm 等于 CDATA、RCDATA、EMPTY 或 ANY,则返回适当的 DTDConstants,否则返回 0。
nm - 一个名字
nm 等于 CDATA、RCDATA、EMPTY 或 ANY,则为适当的 DTDConstants,否则为 0。