com.lowagie.text.xml.xmp
public class XmpWriter extends Object
Field Summary | |
---|---|
protected String | about The about string that goes into the rdf:Description tags. |
protected char | end The end attribute. |
protected int | extraSpace You can add some extra space in the XMP packet; 1 unit in this variable represents 100 spaces and a newline. |
static String | EXTRASPACE String used to fill the extra space. |
static String | UTF16 A possible charset for the XMP. |
static String | UTF16BE A possible charset for the XMP. |
static String | UTF16LE A possible charset for the XMP. |
static String | UTF8 A possible charset for the XMP. |
protected OutputStreamWriter | writer The writer to which you can write bytes for the XMP stream. |
Constructor Summary | |
---|---|
XmpWriter(OutputStream os, String utfEncoding, int extraSpace)
Creates an XmpWriter. | |
XmpWriter(OutputStream os)
Creates an XmpWriter. | |
XmpWriter(OutputStream os, PdfDictionary info, int PdfXConformance) | |
XmpWriter(OutputStream os, Map info) |
Method Summary | |
---|---|
void | addRdfDescription(String xmlns, String content)
Adds an rdf:Description. |
void | addRdfDescription(XmpSchema s)
Adds an rdf:Description. |
void | close()
Flushes and closes the XmpWriter. |
void | setAbout(String about) |
void | setReadOnly() Sets the XMP to read-only |
Parameters: os utfEncoding extraSpace
Throws: IOException
Parameters: os
Throws: IOException
Parameters: os info
Throws: IOException
Parameters: os info
Throws: IOException
Parameters: xmlns content
Throws: IOException
Parameters: s
Throws: IOException
Throws: IOException
Parameters: about The about to set.