public class PackagePropertiesMarshaller extends Object implements PartMarshaller
Modifier and Type | Field and Description |
---|---|
protected static String |
KEYWORD_CATEGORY |
protected static String |
KEYWORD_CONTENT_STATUS |
protected static String |
KEYWORD_CONTENT_TYPE |
protected static String |
KEYWORD_CREATED |
protected static String |
KEYWORD_CREATOR |
protected static String |
KEYWORD_DESCRIPTION |
protected static String |
KEYWORD_IDENTIFIER |
protected static String |
KEYWORD_KEYWORDS |
protected static String |
KEYWORD_LANGUAGE |
protected static String |
KEYWORD_LAST_MODIFIED_BY |
protected static String |
KEYWORD_LAST_PRINTED |
protected static String |
KEYWORD_MODIFIED |
protected static String |
KEYWORD_REVISION |
protected static String |
KEYWORD_SUBJECT |
protected static String |
KEYWORD_TITLE |
protected static String |
KEYWORD_VERSION |
Constructor and Description |
---|
PackagePropertiesMarshaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
marshall(PackagePart part,
OutputStream out)
Marshall package core properties to an XML document.
|
protected static final String KEYWORD_CATEGORY
protected static final String KEYWORD_CONTENT_STATUS
protected static final String KEYWORD_CONTENT_TYPE
protected static final String KEYWORD_CREATED
protected static final String KEYWORD_CREATOR
protected static final String KEYWORD_DESCRIPTION
protected static final String KEYWORD_IDENTIFIER
protected static final String KEYWORD_KEYWORDS
protected static final String KEYWORD_LANGUAGE
protected static final String KEYWORD_LAST_MODIFIED_BY
protected static final String KEYWORD_LAST_PRINTED
protected static final String KEYWORD_MODIFIED
protected static final String KEYWORD_REVISION
protected static final String KEYWORD_SUBJECT
protected static final String KEYWORD_TITLE
protected static final String KEYWORD_VERSION
public boolean marshall(PackagePart part, OutputStream out) throws OpenXML4JException
true
.marshall
in interface PartMarshaller
part
- Part to marshall.out
- The output stream into which the part will be marshall.OpenXML4JException
- Throws only if any other exceptions are thrown by inner
methods.Copyright © 2020. All rights reserved.