xmlgraphics-commons 2.1

org.apache.xmlgraphics.util.uri
Class DataURIResolver

java.lang.Object
  extended by org.apache.xmlgraphics.util.uri.DataURIResolver
All Implemented Interfaces:
URIResolver

public class DataURIResolver
extends Object
implements URIResolver

Resolves data URLs (described in RFC 2397) returning its data as a StreamSource.

See Also:
URIResolver, RFC 2397

Constructor Summary
DataURIResolver()
           
 
Method Summary
 Source resolve(String href, String base)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataURIResolver

public DataURIResolver()
Method Detail

resolve

public Source resolve(String href,
                      String base)
               throws TransformerException

Specified by:
resolve in interface URIResolver
Throws:
TransformerException

xmlgraphics-commons 2.1

Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.