protected void entering(NodeData node, int level) throws RepositoryException
   {
      try
      {
         if (!node.getQPath().getName().equals(Constants.JCR_XMLTEXT))
         {
            List<NodeData> nodes = dataManager.getChildNodesData(node);
            if (nodes.size() > 0)
            {
               writer.writeStartElement("", getExportName(node, true), "");
            }
            else
            {
               writer.writeEmptyElement("", getExportName(node, true), "");
            }
         }
         if (level == 0)
         {
            startPrefixMapping();

         }

      }
      catch (XMLStreamException e)
      {
         throw new RepositoryException(e);
      }
   }
protected void entering ( NodeData node , int level ) throws RepositoryException { try { if ( ! node . getQPath ( ) . getName ( ) . equals ( Constants . JCR_XMLTEXT ) ) { List < NodeData > nodes = dataManager . getChildNodesData ( node ) ; if ( nodes . size ( ) > 0 ) { writer . writeStartElement ( "" , getExportName ( node , true ) , "" ) ; } else { writer . writeEmptyElement ( "" , getExportName ( node , true ) , "" ) ; } } if ( level == 0 ) { startPrefixMapping ( ) ; } } catch ( XMLStreamException e ) { throw new RepositoryException ( e ) ; } }
{@inheritDoc}