public class Decorator extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Decorator()
Protected visibility so that we can extend the class.
|
| Modifier and Type | Method and Description |
|---|---|
protected HTMLElement |
decorate(HTMLDocumentImp d,
String tag)
Creates an html5 element for this tag.
|
protected Decorator()
protected HTMLElement decorate(HTMLDocumentImp d, String tag) throws DOMException
d - The html document that will contain the element.tag - The element tag, like "div".DOMExceptionCopyright © 2017. All rights reserved.