public class XMLEmptyElement extends XMLNullDataElement
| Constructor and Description |
|---|
XMLEmptyElement() |
| Modifier and Type | Method and Description |
|---|---|
String |
getStrValue()
Retorno do texto interno.
|
void |
write(Writer stream,
String ident)
Escreve o elemento corrente (o que significa, no caso de elementos vazios,
escrever apenas a tag de abertura).
|
void |
writeEndTag(Writer stream,
String ident)
(Não) escreve a tag de fechamento.
|
void |
writeStartTag(Writer stream,
String ident)
Escreve a tag de abertura, no formato compatível com elementos vazios.
|
void |
writeStartTagln(Writer stream,
String ident)
Escreve a tag de abertura, no formato compatível com elementos vazios, e
adiciona um fim-de-linha.
|
endTagwrite, write, write, writeEndTagappendValue, convertTextToXML, convertValueFromXML, getAppContextObject, getAppObject, getAttributeBooleanValue, getAttributeDoubleValue, getAttributeIntValue, getAttributes, getAttributeStrValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getStrValue, getTag, hasAttribute, hasValue, isEmpty, newAttribute, newAttribute, newAttribute, newAttribute, newAttribute, newAttribute, newAttributeList, newCharsEvent, resetAttributeList, resetValue, setAppContextObject, setAppObject, setTag, setValue, setValue, startTag, writeAttributes, writeAttributes, writeEndTag, writeValue, xmlEncodepublic final void writeEndTag(Writer stream, String ident) throws IOException
writeEndTag in interface XMLElementInterfacewriteEndTag in class XMLElementstream - stream de saida.ident - identaçãoIOException - se houver algum erro de escritapublic final void writeStartTag(Writer stream, String ident) throws IOException
writeStartTag in interface XMLElementInterfacewriteStartTag in class XMLElementstream - stream de saida.ident - identaçãoIOException - se houver algum erro de escritapublic final void writeStartTagln(Writer stream, String ident) throws IOException
writeStartTagln in interface XMLElementInterfacewriteStartTagln in class XMLElementstream - stream de saida.ident - identaçãoIOException - se houver algum erro de escritapublic final String getStrValue()
getStrValue in interface XMLElementInterfacegetStrValue in class XMLElementXMLElementInterface.getStrValue()public void write(Writer stream, String ident) throws IOException
write in interface XMLElementInterfacewrite in class XMLDataElementstream - stream de saida.ident - identaçãoIOException - se houver problemas na escritaCopyright © 2016 Tecgraf/PUC-Rio. All rights reserved.