public class XMLEmitter extends Object implements OutputEmitter
OutputEmitter which converts the entire RPSL Document to an XML representation.| Constructor and Description |
|---|
XMLEmitter() |
| Modifier and Type | Method and Description |
|---|---|
String |
emit(Set<net.ripe.db.whois.common.rpsl.RpslObject> objects)
Emits the set of
RpslObject's in the format of the implementing OutputEmitter. |
static String |
generateString(Document rootDocument)
Transforms the Document to an XML format String
|
void |
setArguments(Map<String,String> arguments)
XMLEmitter doesn't accept arguments set
|
public String emit(Set<net.ripe.db.whois.common.rpsl.RpslObject> objects)
OutputEmitterRpslObject's in the format of the implementing OutputEmitter.emit in interface OutputEmitterobjects - The set of objects to emitpublic static String generateString(Document rootDocument)
rootDocument - Document to outputpublic void setArguments(Map<String,String> arguments)
setArguments in interface OutputEmitterarguments - Set of arguments to applyCopyright © 2015. All rights reserved.