|
14 | 14 | */ |
15 | 15 | package org.htmlunit.javascript.host.dom; |
16 | 16 |
|
17 | | -import static org.htmlunit.javascript.configuration.SupportedBrowser.IE; |
18 | | - |
19 | 17 | import org.htmlunit.html.DomComment; |
20 | 18 | import org.htmlunit.javascript.configuration.JsxClass; |
21 | 19 | import org.htmlunit.javascript.configuration.JsxConstructor; |
22 | | -import org.htmlunit.javascript.configuration.JsxFunction; |
23 | | -import org.htmlunit.javascript.configuration.JsxGetter; |
24 | 20 |
|
25 | 21 | /** |
26 | 22 | * A JavaScript object for {@code Comment}. |
@@ -49,36 +45,4 @@ public Comment() { |
49 | 45 | public void jsConstructor() { |
50 | 46 | super.jsConstructor(); |
51 | 47 | } |
52 | | - |
53 | | - /** |
54 | | - * Returns the text of this element. |
55 | | - * @return the text |
56 | | - */ |
57 | | - @JsxGetter(IE) |
58 | | - public String getText() { |
59 | | - return "<!--" + getData() + "-->"; |
60 | | - } |
61 | | - |
62 | | - /** |
63 | | - * Gets the attribute node for the specified attribute. |
64 | | - * @param attributeName the name of the attribute to retrieve |
65 | | - * @return the attribute node for the specified attribute |
66 | | - */ |
67 | | - @JsxFunction(IE) |
68 | | - public Object getAttributeNode(final String attributeName) { |
69 | | - return null; |
70 | | - } |
71 | | - |
72 | | - /** |
73 | | - * Returns the value of the specified attribute. |
74 | | - * @param attributeName attribute name |
75 | | - * @param flags IE-specific flags (see the MSDN documentation for more info) |
76 | | - * @return the value of the specified attribute, {@code null} if the attribute is not defined |
77 | | - * @see <a href="http://msdn.microsoft.com/en-us/library/ms536429.aspx">MSDN Documentation</a> |
78 | | - * @see <a href="http://reference.sitepoint.com/javascript/Element/getAttribute">IE Bug Documentation</a> |
79 | | - */ |
80 | | - @JsxFunction(IE) |
81 | | - public Object getAttribute(final String attributeName, final Integer flags) { |
82 | | - return null; |
83 | | - } |
84 | 48 | } |
0 commit comments