tecgraf.javautils.xml
Class XMLRootElement
java.lang.Object
tecgraf.javautils.xml.XMLElement
tecgraf.javautils.xml.XMLBasicElement
tecgraf.javautils.xml.XMLRootElement
- All Implemented Interfaces:
- XMLElementInterface
public class XMLRootElement
- extends XMLBasicElement
Implementação básica de um elemento XML para ser associado à tag-raiz do
documento. Este elemento apenas armazena a lista com os seus filhos para
futura referência.
- Author:
- Andre Oliveira da Costa
| Methods inherited from class tecgraf.javautils.xml.XMLElement |
appendValue, convertTextToXML, convertValueFromXML, getAppContextObject, getAppObject, getAttributeBooleanValue, getAttributeDoubleValue, getAttributeIntValue, getAttributes, getAttributeStrValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getStrValue, getStrValue, getTag, hasAttribute, hasValue, isEmpty, newAttribute, newAttribute, newAttribute, newAttribute, newAttribute, newAttribute, newAttributeList, newCharsEvent, resetAttributeList, resetValue, setAppContextObject, setAppObject, setTag, setValue, setValue, startTag, writeAttributes, writeAttributes, writeEndTag, writeEndTag, writeStartTag, writeStartTagln, writeValue, xmlEncode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLRootElement
public XMLRootElement()
- Construtor.
endTag
public void endTag(List<XMLElementInterface> childrenList)
- Callback de fechamento do elemento. Apenas armazena a lista de filhos para
futura referência.
- Parameters:
childrenList - lista com os filhos do elemento
write
public void write(Writer stream,
String ident)
throws IOException
- Escreve o elemento, com seus filhos.
- Parameters:
stream - stream de saídaident - identação
- Throws:
IOException - se houve algum erro de I/O na escrita
Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.