Package org.docx4j.wml
Class CTWriteProtection
java.lang.Object
org.docx4j.wml.CTWriteProtection
- All Implemented Interfaces:
Child
Java class for CT_WriteProtection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_WriteProtection">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}AG_Password"/>
<attribute name="recommended" 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 byte[]protected Booleanprotected 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.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 recommended 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.voidsetHash(byte[] value) Sets the value of the hash property.voidvoidsetRecommended(Boolean value) Sets the value of the recommended property.voidsetSalt(byte[] value) Sets the value of the salt property.
-
Field Details
-
recommended
-
cryptProviderType
-
cryptAlgorithmClass
-
cryptAlgorithmType
-
cryptAlgorithmSid
-
cryptSpinCount
-
cryptProvider
-
algIdExt
-
algIdExtSource
-
cryptProviderTypeExt
-
cryptProviderTypeExtSource
-
hash
protected byte[] hash -
salt
protected byte[] salt
-
-
Constructor Details
-
CTWriteProtection
public CTWriteProtection()
-
-
Method Details
-
isRecommended
public boolean isRecommended()Gets the value of the recommended property.- Returns:
- possible object is
Boolean
-
setRecommended
Sets the value of the recommended 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.
-