congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
XMPRightsManagementSchema
Code IndexAdd Tabnine 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)

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 Marked property
 * 
 * @param marked
 *            Marked property to set
 */
public void setMarkedProperty(BooleanType marked)
{
  addProperty(marked);
}
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 the Certificate URL.
   * 
   * @param url
   *            certificate url property to set
   */
  public void setCertificateProperty(URLType url)
  {
    addProperty(url);
  }
}
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

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Notification (javax.management)
  • JList (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now