MCPcopy Create free account
hub / github.com/apache/xmlgraphics-fop / put

Method put

fop-core/src/main/java/org/apache/fop/pdf/PDFInfo.java:314–323  ·  view source on GitHub ↗

Adds a custom property to this Info dictionary.

(String key, String value)

Source from the content-addressed store, hash-verified

312 * Adds a custom property to this Info dictionary.
313 */
314 public void put(String key, String value) {
315 StandardKey standardKey = StandardKey.get(key);
316 if (standardKey != null) {
317 throw new IllegalArgumentException(key + " is a reserved keyword");
318 }
319 if (customProperties == null) {
320 customProperties = new LinkedHashMap<PDFName, String>();
321 }
322 customProperties.put(new PDFName(key), value);
323 }
324
325}
326

Callers 15

initializeMethod · 0.45
getImageMethod · 0.45
createSVGDocumentMethod · 0.45
parseStyleMethod · 0.45
printFOMethod · 0.45
setFeatureMethod · 0.45
handleGetXMLBundleMethod · 0.45
endElementMethod · 0.45

Calls 1

getMethod · 0.95

Tested by 15

testHyphenatorCountryMethod · 0.36
doEventChecksMethod · 0.36
scopeMustBeAddedMethod · 0.36
testOutputWithParent2Method · 0.36
setUpMethod · 0.36
testPutMethod · 0.36
setUpMethod · 0.36
simpleTestMethod · 0.36
rangeTestMethod · 0.36
surrogatePairTestMethod · 0.36