org.infoml.jaxb
Interface PType

All Known Implementing Classes:
PTypeImpl

public interface PType

Java content class for pType complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/gw/tech/ecl-wkspaces-infoml/InfOrg-101105-stable-v1_0/InfocardOrganizer-v1_0/infomlFile.xsd line 397)

 <complexType name="pType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="em" type="{http://infoml.org/infomlFile}emType"/>
         <element name="strong" type="{http://infoml.org/infomlFile}strongType"/>
         <element name="code" type="{http://infoml.org/infomlFile}codeType"/>
         <element name="pre" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="a" type="{http://infoml.org/infomlFile}aType"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static interface PType.A
          Java content class for a element declaration.
static interface PType.Code
          Java content class for code element declaration.
static interface PType.Em
          Java content class for em element declaration.
static interface PType.Pre
          Java content class for pre element declaration.
static interface PType.Strong
          Java content class for strong element declaration.
 
Method Summary
 java.util.List getContent()
          Gets the value of the Content property.
 

Method Detail

getContent

java.util.List 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 PType.A PType.Em PType.Pre PType.Code String PType.Strong