Klasse XMLWriter
java.lang.Object
org.deidentifier.arx.gui.worker.io.XMLWriter
A writer for XML documents that can handle common objects from the ARX model.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new writer backed by a StringBuilder.XMLWriter(boolean compact) Creates a new writer backed by a StringBuilder.XMLWriter(FileBuilder builder) Creates a new writer backed by the given FileBuilder.XMLWriter(FileBuilder builder, boolean compact) Creates a new writer backed by the given FileBuilder. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidIntend the document.voidIntend the document.toString()Returns a string representation.voidunindent()Unintend.voidAppends the string.voidCreate an element.voidCreate an element.voidCreate an element.voidCreate an element.voidCreate an element.voidCreate an element.voidwrite(String attribute, ARXLattice.Anonymity anonymity) Create an element.voidCreate an element.
-
Konstruktordetails
-
XMLWriter
Creates a new writer backed by a StringBuilder.- Löst aus:
IOException
-
XMLWriter
Creates a new writer backed by the given FileBuilder.- Parameter:
builder-- Löst aus:
IOException
-
XMLWriter
Creates a new writer backed by a StringBuilder.- Parameter:
compact-- Löst aus:
IOException
-
XMLWriter
Creates a new writer backed by the given FileBuilder.- Parameter:
builder-compact-- Löst aus:
IOException
-
-
Methodendetails
-
indent
Intend the document.- Parameter:
element-- Löst aus:
IOException
-
indent
Intend the document.- Parameter:
element-attribute-value-- Löst aus:
IOException
-
toString
Returns a string representation. -
unindent
Unintend.- Löst aus:
IOException
-
write
Appends the string.- Parameter:
string-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-anonymity-- Löst aus:
IOException
-
write
public void write(String attribute, ARXLattice.ARXNode[] array, Map<String, Integer> map) throws IOExceptionCreate an element.- Parameter:
attribute-array-map-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-value-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-value-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-value-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-array-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-value-- Löst aus:
IOException
-
write
Create an element.- Parameter:
attribute-value-- Löst aus:
IOException
-