Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.content.source
Class URLSource

java.lang.Object
  extended by oracle.irm.engine.types.content.source.Source
      extended by oracle.irm.engine.types.content.source.URLSource

All Implemented Interfaces:
Serializable

public class URLSource
extends Source
implements Serializable

URL Source type. This source can be used to seal content that is available, for example, from a HTTP based URL.

A URL source will close the input stream if close is called.

XML Serialization

URL Source instances can be serialized as an XML document. This XML document can also be used to recreate a URL Source object. The following XML document shows an example URL Source in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:URLSource xmlns:content="http://xmlns.oracle.com/irm/content">
    <url>http://irm.example.com/sample.html</url>
</content:URLSource>

See Also:
Serialized Form

Constructor Summary
URLSource()
          No argument constructor.
URLSource(URL url)
          Constructor.

 

Method Summary
 URL getUrl()
          The URL to the content.
 void setUrl(URL value)
          The URL to the content.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

URLSource

public URLSource()
No argument constructor.

URLSource

public URLSource(URL url)
Constructor.

Method Detail

getUrl

public URL getUrl()
The URL to the content.
Returns:
the value of the property.

setUrl

public void setUrl(URL value)
The URL to the content.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.