|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabk.html.ANodeObject<T>
abk.html.ATextNode<T>
public abstract class ATextNode<T extends ATextNode<T>>
Representa el contenido de un nodo XML de texto.
Field Summary | |
---|---|
private StringBuilder |
iContent
Contenido del nodo. |
Fields inherited from class abk.html.ANodeObject |
---|
iClass |
Constructor Summary | |
---|---|
protected |
ATextNode(CharSequence text,
Class<T> klass)
|
protected |
ATextNode(Class<T> klass)
Constructor público. |
Method Summary | |
---|---|
T |
append(CharSequence text)
Añade más texto al contenido del nodo, incorporándolo al final. |
T |
reset()
Establece el contenido del nodo a un texto vacío. |
CharSequence |
textContent()
Devuelve el texto contenido del nodo. |
T |
textContent(CharSequence text)
Establece el texto contenido en el nodo. |
void |
write(Appendable out)
Método que serializa el nodo en un flujo de salida de texto. |
Methods inherited from class abk.html.ANodeObject |
---|
appendTo, parent, parent, self, stringify, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private StringBuilder iContent
Constructor Detail |
---|
protected ATextNode(Class<T> klass)
protected ATextNode(CharSequence text, Class<T> klass)
Method Detail |
---|
public T reset()
reset
in class ANodeObject<T extends ATextNode<T>>
public CharSequence textContent()
textContent
in class ANodeObject<T extends ATextNode<T>>
public T textContent(CharSequence text)
textContent
in class ANodeObject<T extends ATextNode<T>>
text
- Texto a fijar en el nodo.
public T append(CharSequence text)
text
- Texto a añadir.
public void write(Appendable out) throws IOException
ANodeObject
write
in class ANodeObject<T extends ATextNode<T>>
out
- Flujo de salida de texto
IOException
- si se produce un error durante la operación de escritura.Appendable.append(CharSequence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |