Class XMLObject

    • Constructor Detail

      • XMLObject

        public XMLObject()
        Creates a new instance of XMLObject
    • Method Detail

      • getContent

        public List getContent()
        Description copied from class: ObjectType
        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

        Specified by:
        getContent in interface XMLObject
        Overrides:
        getContent in class ObjectType
      • setContent

        public void setContent​(List content)