|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.lowagie.text.xml.xmp.XmpReader
Reads an XMP stream into an org.w3c.dom.Document objects. Allows you to replace the contents of a specific tag.
| Constructor Summary | |
XmpReader(byte[] bytes)
Constructs an XMP reader |
|
| Method Summary | |
void |
replace(String namespaceURI,
String localName,
String value)
Replaces the content of a tag. |
byte[] |
serializeDoc()
Writes the document to a byte array. |
boolean |
setNodeText(Document domDocument,
Node n,
String value)
Sets the text of this node. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmpReader(byte[] bytes)
throws SAXException,
IOException
bytes - the XMP content
ExceptionConverter
IOException
SAXException| Method Detail |
public void replace(String namespaceURI,
String localName,
String value)
namespaceURI - the URI of the namespacelocalName - the tag namevalue - the new content for the tag
public boolean setNodeText(Document domDocument,
Node n,
String value)
domDocument - the Document that contains the noden - the Node to add the text tovalue - the text to add
public byte[] serializeDoc()
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||