All Packages Class Hierarchy This Package Previous Next Index
Class vnet.markup.html.A
java.lang.Object
|
+----vnet.markup.Element
|
+----vnet.markup.html.A
- public class A
- extends Element
The anchor Element for an HTML document.
-
ATTR_HREF
- The HREF Attribute.
-
NAME
- The element's name.
-
A()
- Constructs a new, empty anchor element.
-
A(String, String)
- Constructs a new, empty anchor element with the given href and text.
-
addText(char[])
- Adds text to the anchor.
-
addText(char[], int, int)
- Adds text to the anchor from a subarray of a character array.
-
addText(String)
- Adds text to the anchor.
NAME
public static final String NAME
- The element's name.
ATTR_HREF
public static final String ATTR_HREF
- The HREF Attribute.
A
public A()
- Constructs a new, empty anchor element.
A
public A(String text,
String href)
- Constructs a new, empty anchor element with the given href and text.
- Parameters:
- text - anchor text
- href - the URI the anchor links to
addText
public void addText(String text)
- Adds text to the anchor.
- Parameters:
- text - the String to be added.
addText
public void addText(char text[])
- Adds text to the anchor.
- Parameters:
- text - the character array to be added.
addText
public void addText(char text[],
int offset,
int count)
- Adds text to the anchor from a subarray of a character array.
- Parameters:
- text - the source character array.
- offset - the initial offset
- count - the length
All Packages Class Hierarchy This Package Previous Next Index