|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.xmp.XMPParser
public final class XMPParser
The XMP parser.
Method Summary | |
---|---|
static XMPHandler |
createXMPHandler()
Creates and returns an XMPHandler for passive XMP parsing. |
static Metadata |
parseXMP(Source src)
Parses an XMP file. |
static Metadata |
parseXMP(URL url)
Parses an XMP file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Metadata parseXMP(URL url) throws TransformerException
url
- the URL to load the file from
TransformerException
- if an error occurs while parsing the filepublic static Metadata parseXMP(Source src) throws TransformerException
src
- a JAXP Source object where the XMP file can be loaded from
TransformerException
- if an error occurs while parsing the filepublic static XMPHandler createXMPHandler()
|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |