congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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