Class XhtmlText
java.lang.Object
nl.geostandaarden.mim_1_2.relatierol.XhtmlText
- All Implemented Interfaces:
org.jvnet.jaxb.lang.Child
- Direct Known Subclasses:
XhtmlTextEx
Java class for xhtmlText complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="xhtmlText">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax' namespace='http://www.w3.org/1999/xhtml' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.boolean
Gets the value of the content property.Gets the parent object in the object tree representing the unmarshalled xml document.int
hashCode()
void
withContent
(Object... values) Adds objects to the list of Content using add methodwithContent
(Collection<Object> values) Adds objects to the list of Content using addAll methodwithParent
(Object parent)
-
Field Details
-
-
Constructor Details
-
XhtmlText
public XhtmlText()
-
-
Method Details
-
getContent
Gets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Object
String
Element
- Returns:
- The value of the content property.
-
equals
-
hashCode
public int hashCode() -
getParent
Gets the parent object in the object tree representing the unmarshalled xml document.- Specified by:
getParent
in interfaceorg.jvnet.jaxb.lang.Child
- Returns:
- The parent object.
-
setParent
- Specified by:
setParent
in interfaceorg.jvnet.jaxb.lang.Child
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
unmarshaller
- The unmarshaller that generated the instance.parent
- The parent object in the object tree.
-
withContent
Adds objects to the list of Content using add method- Parameters:
values
- objects to add to the list Content- Returns:
- The class instance
-
withContent
Adds objects to the list of Content using addAll method- Parameters:
values
- objects to add to the list Content- Returns:
- The class instance
-
withParent
- Parameters:
parent
- allowed object isObject
- Returns:
- The class instance
-