Package org.docx4j.wml
Class CTPerm
java.lang.Object
org.docx4j.wml.CTPerm
- All Implemented Interfaces:
Child
- Direct Known Subclasses:
RangePermissionStart
public class CTPerm extends java.lang.Object implements Child
Java class for CT_Perm complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Perm">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="id" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
<attribute name="displacedByCustomXml" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DisplacedByCustomXml" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STDisplacedByCustomXmldisplacedByCustomXmlprotected java.lang.Stringid -
Constructor Summary
Constructors Constructor Description CTPerm() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STDisplacedByCustomXmlgetDisplacedByCustomXml()Gets the value of the displacedByCustomXml property.java.lang.StringgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.voidsetDisplacedByCustomXml(STDisplacedByCustomXml value)Sets the value of the displacedByCustomXml property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetParent(java.lang.Object parent)
-
Field Details
-
id
protected java.lang.String id -
displacedByCustomXml
-
-
Constructor Details
-
CTPerm
public CTPerm()
-
-
Method Details
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getDisplacedByCustomXml
Gets the value of the displacedByCustomXml property.- Returns:
- possible object is
STDisplacedByCustomXml
-
setDisplacedByCustomXml
Sets the value of the displacedByCustomXml property.- Parameters:
value- allowed object isSTDisplacedByCustomXml
-
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(javax.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.
-