Codota Logo
XMPRightsManagementSchema
Code IndexAdd Codota to your IDE (free)

How to use
XMPRightsManagementSchema
in
org.apache.xmpbox.schema

Best Java code snippets using org.apache.xmpbox.schema.XMPRightsManagementSchema (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: apache/pdfbox

/**
 * Create and add a default XMP Rights Management Schema to this metadata.
 * 
 * This method return the created schema to enter information.
 * 
 * @return schema added in order to work on it
 */
public XMPRightsManagementSchema createAndAddXMPRightsManagementSchema()
{
  XMPRightsManagementSchema rights = new XMPRightsManagementSchema(this);
  rights.setAboutAsSimple("");
  addSchema(rights);
  return rights;
}    

origin: apache/pdfbox

  /**
   * Set the Certificate URL.
   * 
   * @param url
   *            certificate url property to set
   */
  public void setCertificateProperty(URLType url)
  {
    addProperty(url);
  }
}
origin: apache/pdfbox

/**
 * Add a legal owner for the described resource.
 * 
 * @param value
 *            value to add
 */
public void addOwner(String value)
{
  addQualifiedBagValue(OWNER, value);
}
origin: apache/pdfbox

/**
 * Return the WebStatement URL as TextType.
 * 
 * @return Webstatement URL property
 */
public TextType getWebStatementProperty()
{
  return ((TextType) getProperty(WEBSTATEMENT));
}
origin: apache/pdfbox

/**
 * Return a language value for description property
 * 
 * @param lang
 *            concerned language
 * @return value of specified language
 */
public String getUsageTerms(String lang)
{
  return getUnqualifiedLanguagePropertyValue(USAGETERMS, lang);
}
origin: apache/pdfbox

/**
 * Return a String list of owner(s)
 * 
 * @return list of defined owners
 */
public List<String> getOwners()
{
  return getUnqualifiedBagValueList(OWNER);
}
origin: apache/pdfbox

/**
 * Return a list of languages defined in description property
 * 
 * @return list of languages defined for usageterms
 */
public List<String> getUsageTermsLanguages()
{
  return getUnqualifiedLanguagePropertyLanguagesValue(USAGETERMS);
}
origin: apache/pdfbox

/**
 * Get the default usage terms for the document.
 * 
 * @return The terms for this resource.
 */
public String getUsageTerms()
{
  return getUsageTerms(null);
}
origin: apache/pdfbox

/**
 * Set the default usage terms for this resource.
 * 
 * @param terms
 *            The resource usage terms.
 */
public void setUsageTerms(String terms)
{
  addUsageTerms(null, terms);
}
origin: apache/pdfbox

if (rights != null)
  BooleanType marked = rights.getMarkedProperty();
  if (marked != null && !marked.getValue())
origin: apache/pdfbox

/**
 * Return the Bag of owner(s)
 * 
 * @return owners property
 */
public ArrayProperty getOwnersProperty()
{
  return (ArrayProperty) getProperty(OWNER);
}
origin: com.github.lafa.pdfbox/xmpbox

/**
 * Return a language value for description property
 * 
 * @param lang
 *            concerned language
 * @return value of specified language
 */
public String getUsageTerms(String lang)
{
  return getUnqualifiedLanguagePropertyValue(USAGETERMS, lang);
}
origin: com.github.lafa.pdfbox/xmpbox

/**
 * Return a String list of owner(s)
 * 
 * @return list of defined owners
 */
public List<String> getOwners()
{
  return getUnqualifiedBagValueList(OWNER);
}
origin: org.apache.pdfbox/xmpbox

/**
 * Return a list of languages defined in description property
 * 
 * @return list of languages defined for usageterms
 */
public List<String> getUsageTermsLanguages()
{
  return getUnqualifiedLanguagePropertyLanguagesValue(USAGETERMS);
}
origin: com.github.lafa.pdfbox/xmpbox

/**
 * Get the default usage terms for the document.
 * 
 * @return The terms for this resource.
 */
public String getUsageTerms()
{
  return getUsageTerms(null);
}
origin: org.apache.pdfbox/xmpbox

/**
 * Set the default usage terms for this resource.
 * 
 * @param terms
 *            The resource usage terms.
 */
public void setUsageTerms(String terms)
{
  addUsageTerms(null, terms);
}
origin: org.apache.pdfbox/preflight

if (rights != null)
  BooleanType marked = rights.getMarkedProperty();
  if (marked != null && !marked.getValue())
origin: apache/pdfbox

/**
 * Return the Certificate URL as TextType.
 * 
 * @return certificate url property
 */
public TextType getCertificateProperty()
{
  return ((TextType) getProperty(CERTIFICATE));
}
origin: org.apache.pdfbox/xmpbox

/**
 * Create and add a default XMP Rights Management Schema to this metadata.
 * 
 * This method return the created schema to enter information.
 * 
 * @return schema added in order to work on it
 */
public XMPRightsManagementSchema createAndAddXMPRightsManagementSchema()
{
  XMPRightsManagementSchema rights = new XMPRightsManagementSchema(this);
  rights.setAboutAsSimple("");
  addSchema(rights);
  return rights;
}    

origin: apache/pdfbox

/**
 * Set Marked property
 * 
 * @param marked
 *            Marked property to set
 */
public void setMarkedProperty(BooleanType marked)
{
  addProperty(marked);
}
org.apache.xmpbox.schemaXMPRightsManagementSchema

Javadoc

Representation of XMP Rights Management Schema

Most used methods

  • <init>
    Constructor of XMPRightsManagement schema with specified prefix
  • addProperty
  • addQualifiedBagValue
  • addUsageTerms
    Add an usageTerms value
  • getMarkedProperty
    Get Marked property
  • getProperty
  • getUnqualifiedBagValueList
  • getUnqualifiedLanguagePropertyLanguagesValue
  • getUnqualifiedLanguagePropertyValue
  • getUsageTerms
    Return a language value for description property
  • instanciateSimple
  • removeUnqualifiedBagValue
  • instanciateSimple,
  • removeUnqualifiedBagValue,
  • setAboutAsSimple,
  • setCertificateProperty,
  • setMarkedProperty,
  • setUnqualifiedLanguagePropertyValue,
  • setWebStatementProperty

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Path (java.nio.file)
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now