Class ContentModel

java.lang.Object
org.web3d.x3d.util.x3duom.ContentModel

public class ContentModel extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}FieldDeclaration" minOccurs="0"/>
         <element ref="{}GroupContentModel" maxOccurs="unbounded" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{}NodeContentModel"/>
           <element ref="{}StatementContentModel"/>
           <element ref="{}SourceText" minOccurs="0"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • fieldDeclaration

      protected FieldDeclaration fieldDeclaration
    • groupContentModel

      protected List<GroupContentModel> groupContentModel
    • nodeContentModelOrStatementContentModelOrSourceText

      protected List<Object> nodeContentModelOrStatementContentModelOrSourceText
  • Constructor Details

    • ContentModel

      public ContentModel()
  • Method Details

    • getFieldDeclaration

      public FieldDeclaration getFieldDeclaration()
      Gets the value of the fieldDeclaration property.
      Returns:
      possible object is FieldDeclaration
    • setFieldDeclaration

      public void setFieldDeclaration(FieldDeclaration value)
      Sets the value of the fieldDeclaration property.
      Parameters:
      value - allowed object is FieldDeclaration
    • getGroupContentModel

      public List<GroupContentModel> getGroupContentModel()
      Gets the value of the groupContentModel 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 groupContentModel property.

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

          getGroupContentModel().add(newItem);
       

      Objects of the following type(s) are allowed in the list GroupContentModel

    • getNodeContentModelOrStatementContentModelOrSourceText

      public List<Object> getNodeContentModelOrStatementContentModelOrSourceText()
      Gets the value of the nodeContentModelOrStatementContentModelOrSourceText 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 nodeContentModelOrStatementContentModelOrSourceText property.

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

          getNodeContentModelOrStatementContentModelOrSourceText().add(newItem);
       

      Objects of the following type(s) are allowed in the list NodeContentModel StatementContentModel Object