1 38 package com.gargoylesoftware.htmlunit.html; 39 40 import java.util.Map ; 41 42 43 50 public class HtmlMeta extends HtmlElement { 51 52 53 public static final String TAG_NAME = "meta"; 54 55 61 public HtmlMeta( final HtmlPage page, final Map attributes ) { 62 super(page, attributes); 63 } 64 65 68 public String getTagName() { 69 return TAG_NAME; 70 } 71 72 80 public final String getLangAttribute() { 81 return getAttributeValue("lang"); 82 } 83 84 85 93 public final String getXmlLangAttribute() { 94 return getAttributeValue("xml:lang"); 95 } 96 97 98 106 public final String getTextDirectionAttribute() { 107 return getAttributeValue("dir"); 108 } 109 110 111 119 public final String getHttpEquivAttribute() { 120 return getAttributeValue("http-equiv"); 121 } 122 123 124 132 public final String getNameAttribute() { 133 return getAttributeValue("name"); 134 } 135 136 137 145 public final String getContentAttribute() { 146 return getAttributeValue("content"); 147 } 148 149 150 158 public final String getSchemeAttribute() { 159 return getAttributeValue("scheme"); 160 } 161 } 162 | Popular Tags |