Package org.docx4j.wml
Class CTDocProtect
java.lang.Object
org.docx4j.wml.CTDocProtect
- All Implemented Interfaces:
Child
public class CTDocProtect extends java.lang.Object implements 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
Fields Modifier and Type Field Description protected java.lang.StringalgIdExtprotected java.lang.StringalgIdExtSourceprotected STAlgClasscryptAlgorithmClassprotected java.math.BigIntegercryptAlgorithmSidprotected STAlgTypecryptAlgorithmTypeprotected java.lang.StringcryptProviderprotected STCryptProvcryptProviderTypeprotected java.lang.StringcryptProviderTypeExtprotected java.lang.StringcryptProviderTypeExtSourceprotected java.math.BigIntegercryptSpinCountprotected STDocProtecteditprotected java.lang.Booleanenforcementprotected java.lang.Booleanformattingprotected byte[]hashprotected byte[]salt -
Constructor Summary
Constructors Constructor Description CTDocProtect() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetAlgIdExt()Gets the value of the algIdExt property.java.lang.StringgetAlgIdExtSource()Gets the value of the algIdExtSource property.STAlgClassgetCryptAlgorithmClass()Gets the value of the cryptAlgorithmClass property.java.math.BigIntegergetCryptAlgorithmSid()Gets the value of the cryptAlgorithmSid property.STAlgTypegetCryptAlgorithmType()Gets the value of the cryptAlgorithmType property.java.lang.StringgetCryptProvider()Gets the value of the cryptProvider property.STCryptProvgetCryptProviderType()Gets the value of the cryptProviderType property.java.lang.StringgetCryptProviderTypeExt()Gets the value of the cryptProviderTypeExt property.java.lang.StringgetCryptProviderTypeExtSource()Gets the value of the cryptProviderTypeExtSource property.java.math.BigIntegergetCryptSpinCount()Gets the value of the cryptSpinCount property.STDocProtectgetEdit()Gets the value of the edit property.byte[]getHash()Gets the value of the hash property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.byte[]getSalt()Gets the value of the salt property.booleanisEnforcement()Gets the value of the enforcement property.booleanisFormatting()Gets the value of the formatting property.voidsetAlgIdExt(java.lang.String value)Sets the value of the algIdExt property.voidsetAlgIdExtSource(java.lang.String value)Sets the value of the algIdExtSource property.voidsetCryptAlgorithmClass(STAlgClass value)Sets the value of the cryptAlgorithmClass property.voidsetCryptAlgorithmSid(java.math.BigInteger value)Sets the value of the cryptAlgorithmSid property.voidsetCryptAlgorithmType(STAlgType value)Sets the value of the cryptAlgorithmType property.voidsetCryptProvider(java.lang.String value)Sets the value of the cryptProvider property.voidsetCryptProviderType(STCryptProv value)Sets the value of the cryptProviderType property.voidsetCryptProviderTypeExt(java.lang.String value)Sets the value of the cryptProviderTypeExt property.voidsetCryptProviderTypeExtSource(java.lang.String value)Sets the value of the cryptProviderTypeExtSource property.voidsetCryptSpinCount(java.math.BigInteger value)Sets the value of the cryptSpinCount property.voidsetEdit(STDocProtect value)Sets the value of the edit property.voidsetEnforcement(java.lang.Boolean value)Sets the value of the enforcement property.voidsetFormatting(java.lang.Boolean value)Sets the value of the formatting property.voidsetHash(byte[] value)Sets the value of the hash property.voidsetParent(java.lang.Object parent)voidsetSalt(byte[] value)Sets the value of the salt property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
edit
-
formatting
protected java.lang.Boolean formatting -
enforcement
protected java.lang.Boolean enforcement -
cryptProviderType
-
cryptAlgorithmClass
-
cryptAlgorithmType
-
cryptAlgorithmSid
protected java.math.BigInteger cryptAlgorithmSid -
cryptSpinCount
protected java.math.BigInteger cryptSpinCount -
cryptProvider
protected java.lang.String cryptProvider -
algIdExt
protected java.lang.String algIdExt -
algIdExtSource
protected java.lang.String algIdExtSource -
cryptProviderTypeExt
protected java.lang.String cryptProviderTypeExt -
cryptProviderTypeExtSource
protected java.lang.String 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
public void setFormatting(java.lang.Boolean value)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
public void setEnforcement(java.lang.Boolean value)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
public java.math.BigInteger getCryptAlgorithmSid()Gets the value of the cryptAlgorithmSid property.- Returns:
- possible object is
BigInteger
-
setCryptAlgorithmSid
public void setCryptAlgorithmSid(java.math.BigInteger value)Sets the value of the cryptAlgorithmSid property.- Parameters:
value- allowed object isBigInteger
-
getCryptSpinCount
public java.math.BigInteger getCryptSpinCount()Gets the value of the cryptSpinCount property.- Returns:
- possible object is
BigInteger
-
setCryptSpinCount
public void setCryptSpinCount(java.math.BigInteger value)Sets the value of the cryptSpinCount property.- Parameters:
value- allowed object isBigInteger
-
getCryptProvider
public java.lang.String getCryptProvider()Gets the value of the cryptProvider property.- Returns:
- possible object is
String
-
setCryptProvider
public void setCryptProvider(java.lang.String value)Sets the value of the cryptProvider property.- Parameters:
value- allowed object isString
-
getAlgIdExt
public java.lang.String getAlgIdExt()Gets the value of the algIdExt property.- Returns:
- possible object is
String
-
setAlgIdExt
public void setAlgIdExt(java.lang.String value)Sets the value of the algIdExt property.- Parameters:
value- allowed object isString
-
getAlgIdExtSource
public java.lang.String getAlgIdExtSource()Gets the value of the algIdExtSource property.- Returns:
- possible object is
String
-
setAlgIdExtSource
public void setAlgIdExtSource(java.lang.String value)Sets the value of the algIdExtSource property.- Parameters:
value- allowed object isString
-
getCryptProviderTypeExt
public java.lang.String getCryptProviderTypeExt()Gets the value of the cryptProviderTypeExt property.- Returns:
- possible object is
String
-
setCryptProviderTypeExt
public void setCryptProviderTypeExt(java.lang.String value)Sets the value of the cryptProviderTypeExt property.- Parameters:
value- allowed object isString
-
getCryptProviderTypeExtSource
public java.lang.String getCryptProviderTypeExtSource()Gets the value of the cryptProviderTypeExtSource property.- Returns:
- possible object is
String
-
setCryptProviderTypeExtSource
public void setCryptProviderTypeExtSource(java.lang.String value)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
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-