Package org.docx4j.relationships
Class Relationship
java.lang.Object
org.docx4j.relationships.Relationship
- All Implemented Interfaces:
Child
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="TargetMode">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="External"/>
<enumeration value="Internal"/>
</restriction>
</simpleType>
</attribute>
<attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
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.getId()Gets the value of the id property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the target property.Gets the value of the targetMode property.getType()Gets the value of the type property.voidSets the value of the id property.voidvoidSets the value of the target property.voidsetTargetMode(String value) Sets the value of the targetMode property.voidSets the value of the type property.
-
Field Details
-
targetMode
-
target
-
type
-
id
-
-
Constructor Details
-
Relationship
public Relationship()
-
-
Method Details
-
getTargetMode
Gets the value of the targetMode property.- Returns:
- possible object is
String
-
setTargetMode
Sets the value of the targetMode property.- Parameters:
value- allowed object isString
-
getTarget
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
Sets the value of the target property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
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.
-