Class XhtmlText

java.lang.Object
nl.geostandaarden.mim_1_2.relatierol.XhtmlText
All Implemented Interfaces:
org.jvnet.jaxb.lang.Child
Direct Known Subclasses:
XhtmlTextEx

public class XhtmlText extends Object implements org.jvnet.jaxb.lang.Child

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 Details

  • Constructor Details

    • XhtmlText

      public XhtmlText()
  • Method Details

    • getContent

      public List<Object> 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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface org.jvnet.jaxb.lang.Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface org.jvnet.jaxb.lang.Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      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

      public XhtmlText withContent(Object... values)
      Adds objects to the list of Content using add method
      Parameters:
      values - objects to add to the list Content
      Returns:
      The class instance
    • withContent

      public XhtmlText withContent(Collection<Object> values)
      Adds objects to the list of Content using addAll method
      Parameters:
      values - objects to add to the list Content
      Returns:
      The class instance
    • withParent

      public XhtmlText withParent(Object parent)
      Parameters:
      parent - allowed object is Object
      Returns:
      The class instance