Package org.docx4j.wml
Class CTDocProtect
java.lang.Object
org.docx4j.wml.CTDocProtect
- All Implemented Interfaces:
Child
Java class for CT_DocProtect complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DocProtect">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}AG_Password"/>
<attribute name="edit" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DocProtect" />
<attribute name="formatting" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="enforcement" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected STAlgClassprotected BigIntegerprotected STAlgTypeprotected Stringprotected STCryptProvprotected Stringprotected Stringprotected BigIntegerprotected STDocProtectprotected Booleanprotected Booleanprotected byte[]protected byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the algIdExt property.Gets the value of the algIdExtSource property.Gets the value of the cryptAlgorithmClass property.Gets the value of the cryptAlgorithmSid property.Gets the value of the cryptAlgorithmType property.Gets the value of the cryptProvider property.Gets the value of the cryptProviderType property.Gets the value of the cryptProviderTypeExt property.Gets the value of the cryptProviderTypeExtSource property.Gets the value of the cryptSpinCount property.getEdit()Gets the value of the edit property.byte[]getHash()Gets the value of the hash property.Gets the parent object in the object tree representing the unmarshalled xml document.byte[]getSalt()Gets the value of the salt property.booleanGets the value of the enforcement property.booleanGets the value of the formatting property.voidsetAlgIdExt(String value) Sets the value of the algIdExt property.voidsetAlgIdExtSource(String value) Sets the value of the algIdExtSource property.voidsetCryptAlgorithmClass(STAlgClass value) Sets the value of the cryptAlgorithmClass property.voidsetCryptAlgorithmSid(BigInteger value) Sets the value of the cryptAlgorithmSid property.voidsetCryptAlgorithmType(STAlgType value) Sets the value of the cryptAlgorithmType property.voidsetCryptProvider(String value) Sets the value of the cryptProvider property.voidsetCryptProviderType(STCryptProv value) Sets the value of the cryptProviderType property.voidsetCryptProviderTypeExt(String value) Sets the value of the cryptProviderTypeExt property.voidSets the value of the cryptProviderTypeExtSource property.voidsetCryptSpinCount(BigInteger value) Sets the value of the cryptSpinCount property.voidsetEdit(STDocProtect value) Sets the value of the edit property.voidsetEnforcement(Boolean value) Sets the value of the enforcement property.voidsetFormatting(Boolean value) Sets the value of the formatting property.voidsetHash(byte[] value) Sets the value of the hash property.voidvoidsetSalt(byte[] value) Sets the value of the salt property.
-
Field Details
-
edit
-
formatting
-
enforcement
-
cryptProviderType
-
cryptAlgorithmClass
-
cryptAlgorithmType
-
cryptAlgorithmSid
-
cryptSpinCount
-
cryptProvider
-
algIdExt
-
algIdExtSource
-
cryptProviderTypeExt
-
cryptProviderTypeExtSource
-
hash
protected byte[] hash -
salt
protected byte[] salt
-
-
Constructor Details
-
CTDocProtect
public CTDocProtect()
-
-
Method Details
-
getEdit
Gets the value of the edit property.- Returns:
- possible object is
STDocProtect
-
setEdit
Sets the value of the edit property.- Parameters:
value- allowed object isSTDocProtect
-
isFormatting
public boolean isFormatting()Gets the value of the formatting property.- Returns:
- possible object is
Boolean
-
setFormatting
Sets the value of the formatting property.- Parameters:
value- allowed object isBoolean
-
isEnforcement
public boolean isEnforcement()Gets the value of the enforcement property.- Returns:
- possible object is
Boolean
-
setEnforcement
Sets the value of the enforcement property.- Parameters:
value- allowed object isBoolean
-
getCryptProviderType
Gets the value of the cryptProviderType property.- Returns:
- possible object is
STCryptProv
-
setCryptProviderType
Sets the value of the cryptProviderType property.- Parameters:
value- allowed object isSTCryptProv
-
getCryptAlgorithmClass
Gets the value of the cryptAlgorithmClass property.- Returns:
- possible object is
STAlgClass
-
setCryptAlgorithmClass
Sets the value of the cryptAlgorithmClass property.- Parameters:
value- allowed object isSTAlgClass
-
getCryptAlgorithmType
Gets the value of the cryptAlgorithmType property.- Returns:
- possible object is
STAlgType
-
setCryptAlgorithmType
Sets the value of the cryptAlgorithmType property.- Parameters:
value- allowed object isSTAlgType
-
getCryptAlgorithmSid
Gets the value of the cryptAlgorithmSid property.- Returns:
- possible object is
BigInteger
-
setCryptAlgorithmSid
Sets the value of the cryptAlgorithmSid property.- Parameters:
value- allowed object isBigInteger
-
getCryptSpinCount
Gets the value of the cryptSpinCount property.- Returns:
- possible object is
BigInteger
-
setCryptSpinCount
Sets the value of the cryptSpinCount property.- Parameters:
value- allowed object isBigInteger
-
getCryptProvider
Gets the value of the cryptProvider property.- Returns:
- possible object is
String
-
setCryptProvider
Sets the value of the cryptProvider property.- Parameters:
value- allowed object isString
-
getAlgIdExt
Gets the value of the algIdExt property.- Returns:
- possible object is
String
-
setAlgIdExt
Sets the value of the algIdExt property.- Parameters:
value- allowed object isString
-
getAlgIdExtSource
Gets the value of the algIdExtSource property.- Returns:
- possible object is
String
-
setAlgIdExtSource
Sets the value of the algIdExtSource property.- Parameters:
value- allowed object isString
-
getCryptProviderTypeExt
Gets the value of the cryptProviderTypeExt property.- Returns:
- possible object is
String
-
setCryptProviderTypeExt
Sets the value of the cryptProviderTypeExt property.- Parameters:
value- allowed object isString
-
getCryptProviderTypeExtSource
Gets the value of the cryptProviderTypeExtSource property.- Returns:
- possible object is
String
-
setCryptProviderTypeExtSource
Sets the value of the cryptProviderTypeExtSource property.- Parameters:
value- allowed object isString
-
getHash
public byte[] getHash()Gets the value of the hash property.- Returns:
- possible object is byte[]
-
setHash
public void setHash(byte[] value) Sets the value of the hash property.- Parameters:
value- allowed object is byte[]
-
getSalt
public byte[] getSalt()Gets the value of the salt property.- Returns:
- possible object is byte[]
-
setSalt
public void setSalt(byte[] value) Sets the value of the salt property.- Parameters:
value- allowed object is byte[]
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-