Exemplo n.º 1
0
 /* (non-Javadoc)
  * @see org.eclipse.ohf.utilities.xml.IXMLWriter#element(java.lang.String, java.lang.String)
  */
 @Override
 public void element(String name, String content) throws IOException {
   element(null, name, content);
 }
Exemplo n.º 2
0
 /* (non-Javadoc)
  * @see org.eclipse.ohf.utilities.xml.IXMLWriter#element(java.lang.String, java.lang.String, boolean)
  */
 @Override
 public void element(String name, String content, boolean onlyIfNotEmpty) throws IOException {
   if (!onlyIfNotEmpty || content != null && !content.equals("")) element(null, name, content);
 }