|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a HTML tag for an event.
This class represents a HTML tag for element events during parsing. The element has the following properties:
Copyright (c) SAP AG 2001-2003
| Method Summary | |
int |
copyTo(char[] ch,
int offset)
Copy all characters of this element into the given buffer. |
String |
getName()
Returns the element name. |
int |
getNameLength()
Returns the length of the element name. |
boolean |
hasName(String name)
Check if element has specified name. |
int |
length()
Return the number of characters this element has. |
int |
writeTo(Writer writer)
Copy the characters of this element onto the given Writer. |
| Method Detail |
public String getName()
hasName(String) for a cheaper method to
compare names, if that is all you're interested in.
public int getNameLength()
public boolean hasName(String name)
name - to check against
public int copyTo(char[] ch,
int offset)
length() chars.
ch - buffer to copy tooffset - where in the buffer to start
public int length()
public int writeTo(Writer writer)
throws IOException
writer - to write characters to
IOException - on failure from writer
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||