Class XMLAttributeContent


  • public class XMLAttributeContent
    extends Object

    Java class for attribute-content complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="attribute-content">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice maxOccurs="unbounded" minOccurs="0">
             <element ref="{http://www.gexf.net/1.2draft}default"/>
             <element ref="{http://www.gexf.net/1.2draft}options"/>
           </choice>
           <attribute name="id" use="required" type="{http://www.gexf.net/1.2draft}id-type" />
           <attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="type" use="required" type="{http://www.gexf.net/1.2draft}attrtype-type" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getDefaultOrOptions

        public List<javax.xml.bind.JAXBElement<String>> getDefaultOrOptions()
        Gets the value of the defaultOrOptions 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 defaultOrOptions property.

        For example, to add a new item, do as follows:

            getDefaultOrOptions().add(newItem);
         

        Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<String>

      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getTitle

        public String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String