org.jboss.shrinkwrap.descriptor.metadata.dom
Class DomWriter

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.metadata.dom.DomWriter

public class DomWriter
extends Object

This class writes an XML file based on the meta-data information.

Author:
Ralf Battenfeld

Constructor Summary
DomWriter()
           
 
Method Summary
 void write(Metadata metadata, String pathToMetadata)
          Writes an XML file based on the given meta-data information at the specified location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomWriter

public DomWriter()
Method Detail

write

public void write(Metadata metadata,
                  String pathToMetadata)
Writes an XML file based on the given meta-data information at the specified location. TODO: a lot of recurring code is here, needs to be refactored.

Parameters:
metadata -
pathToMetadata -


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.