public class DocPropsCustomPart extends JaxbXmlPart<Properties>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
fmtidValLpwstr |
static java.lang.String |
MARK_AS_FINAL |
jaxbElement, jc, MAX_BYTES_Unmarshal_ErrorcontentType, partName, relationships| Constructor and Description |
|---|
DocPropsCustomPart() |
DocPropsCustomPart(PartName partName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getMarkAsFinal() |
int |
getNextPid()
Find the first available Pid
|
Properties.Property |
getProperty(java.lang.String propName) |
void |
init() |
void |
setMarkAsFinal(boolean val) |
void |
setProperty(java.lang.String propName,
boolean propValue) |
void |
setProperty(java.lang.String propName,
java.lang.String propValue) |
Properties |
unmarshal(java.io.InputStream is)
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
addMcChoiceNamespace, getConfiguredUnmarshaller, getContents, getJAXBContext, getJaxbElement, getMcChoiceNamespaces, getMceIgnorable, getXML, inputStreamToXSR, isContentEqual, isUnmarshalled, marshal, marshal, marshal, marshal, pipe, pipe, pipe, preprocess, setContents, setJAXBContext, setJaxbElement, setJaxbElement, setMceIgnorable, transform, transformToDom, unmarshal, variableReplacegetContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionaddTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDatapublic static final java.lang.String fmtidValLpwstr
public static final java.lang.String MARK_AS_FINAL
public DocPropsCustomPart(PartName partName) throws InvalidFormatException
InvalidFormatExceptionpublic DocPropsCustomPart()
throws InvalidFormatException
InvalidFormatExceptionpublic void init()
public Properties unmarshal(java.io.InputStream is) throws javax.xml.bind.JAXBException
Implements Unmarshal Global Root Element.
unmarshal in class JaxbXmlPart<Properties>is - the InputStream to unmarshal XML data fromjavax.xml.bind.JAXBException - If any unexpected errors occur while unmarshallingpublic Properties.Property getProperty(java.lang.String propName)
public void setProperty(java.lang.String propName,
java.lang.String propValue)
public void setProperty(java.lang.String propName,
boolean propValue)
propName - propValue - public int getNextPid()
public boolean getMarkAsFinal()
public void setMarkAsFinal(boolean val)
Copyright © 2007–2023. All rights reserved.