Example usage for javax.swing.text AttributeSet NameAttribute

List of usage examples for javax.swing.text AttributeSet NameAttribute

Introduction

In this page you can find the example usage for javax.swing.text AttributeSet NameAttribute.

Prototype

Object NameAttribute

To view the source code for javax.swing.text AttributeSet NameAttribute.

Click Source Link

Document

Attribute name used to name the collection of attributes.

Usage

From source file:Main.java

public static HTML.Tag nameOf(Element element) {
    return (HTML.Tag) element.getAttributes().getAttribute(AttributeSet.NameAttribute);
}