public class DocType extends Object implements HtmlElement
| Constructor and Description |
|---|
DocType(String tag,
Map<String,AttrValue> attrList) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AttrValue> |
getAttributes() |
HtmlElementType |
getType()
Retrieve the associated ElementType
|
String |
getValue()
The String value that best represents what this element is.
|
boolean |
supportsAttributes()
Must be defined as true to allow default methods to work correctly, this
method and the getAttributes method are used together to implement attribute
support in an element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, containsAttribute, getAttributeValue, getVoidTag, hasAttributes, setAttributepublic HtmlElementType getType()
HtmlElementgetType in interface HtmlElementpublic boolean supportsAttributes()
HtmlElementsupportsAttributes in interface HtmlElementpublic Map<String,AttrValue> getAttributes()
getAttributes in interface HtmlElementpublic String getValue()
HtmlElementgetValue in interface HtmlElementCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.