com.lowagie.text.pdf
public final class SimpleNamedDestination extends Object implements SimpleXMLDocHandler
| Field Summary | |
|---|---|
| HashMap | xmlLast |
| HashMap | xmlNames |
| Constructor Summary | |
|---|---|
| SimpleNamedDestination() | |
| Method Summary | |
|---|---|
| static PdfArray | createDestinationArray(String value, PdfWriter writer) |
| void | endDocument() |
| void | endElement(String tag) |
| static String | escapeBinaryString(String s) |
| static void | exportToXML(HashMap names, OutputStream out, String encoding, boolean onlyASCII)
Exports the destinations to XML. |
| static void | exportToXML(HashMap names, Writer wrt, String encoding, boolean onlyASCII)
Exports the destinations to XML. |
| static HashMap | getNamedDestination(PdfReader reader, boolean fromNames) |
| static HashMap | importFromXML(InputStream in)
Import the names from XML. |
| static HashMap | importFromXML(Reader in)
Import the names from XML. |
| static PdfDictionary | outputNamedDestinationAsNames(HashMap names, PdfWriter writer) |
| static PdfDictionary | outputNamedDestinationAsStrings(HashMap names, PdfWriter writer) |
| void | startDocument() |
| void | startElement(String tag, HashMap h) |
| void | text(String str) |
| static String | unEscapeBinaryString(String s) |
<?xml version='1.0' encoding='UTF-8'?>
<!ELEMENT Name (#PCDATA)>
<!ATTLIST Name
Page CDATA #IMPLIED
>
<!ELEMENT Destination (Name)*>
Parameters: names the names out the export destination. The stream is not closed encoding the encoding according to IANA conventions onlyASCII codes above 127 will always be escaped with &#nn; if true,
whatever the encoding
Throws: IOException on error
Parameters: names the names wrt the export destination. The writer is not closed encoding the encoding according to IANA conventions onlyASCII codes above 127 will always be escaped with &#nn; if true,
whatever the encoding
Throws: IOException on error
Parameters: in the XML source. The stream is not closed
Returns: the names
Throws: IOException on error
Parameters: in the XML source. The reader is not closed
Returns: the names
Throws: IOException on error