Apache CXF API

org.apache.cxf.ws.eventing
Class EventSource

java.lang.Object
  extended by org.apache.cxf.ws.eventing.EventSource

public class EventSource
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 name="FilterDialect" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                 <anyAttribute processContents='lax' namespace='##other'/>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="FormatName" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
                 <anyAttribute processContents='lax' namespace='##other'/>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="DateTimeSupported" type="{http://www.w3.org/2011/03/ws-evt}Empty" minOccurs="0"/>
         <element name="Expires" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}duration" />
                 <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}duration" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="EndToSupported" type="{http://www.w3.org/2011/03/ws-evt}Empty" minOccurs="0"/>
         <element name="NotificationPolicy" type="{http://www.w3.org/2011/03/ws-evt}NotificationPolicy" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class EventSource.Expires
          Java class for anonymous complex type.
static class EventSource.FilterDialect
          Java class for anonymous complex type.
static class EventSource.FormatName
          Java class for anonymous complex type.
 
Field Summary
protected  List<Object> any
           
protected  Empty dateTimeSupported
           
protected  Empty endToSupported
           
protected  EventSource.Expires expires
           
protected  List<EventSource.FilterDialect> filterDialect
           
protected  List<EventSource.FormatName> formatName
           
protected  NotificationPolicy notificationPolicy
           
 
Constructor Summary
EventSource()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 Empty getDateTimeSupported()
          Gets the value of the dateTimeSupported property.
 Empty getEndToSupported()
          Gets the value of the endToSupported property.
 EventSource.Expires getExpires()
          Gets the value of the expires property.
 List<EventSource.FilterDialect> getFilterDialect()
          Gets the value of the filterDialect property.
 List<EventSource.FormatName> getFormatName()
          Gets the value of the formatName property.
 NotificationPolicy getNotificationPolicy()
          Gets the value of the notificationPolicy property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setDateTimeSupported(Empty value)
          Sets the value of the dateTimeSupported property.
 void setEndToSupported(Empty value)
          Sets the value of the endToSupported property.
 void setExpires(EventSource.Expires value)
          Sets the value of the expires property.
 void setNotificationPolicy(NotificationPolicy value)
          Sets the value of the notificationPolicy property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filterDialect

protected List<EventSource.FilterDialect> filterDialect

formatName

protected List<EventSource.FormatName> formatName

dateTimeSupported

protected Empty dateTimeSupported

expires

protected EventSource.Expires expires

endToSupported

protected Empty endToSupported

notificationPolicy

protected NotificationPolicy notificationPolicy

any

protected List<Object> any
Constructor Detail

EventSource

public EventSource()
Method Detail

getFilterDialect

public List<EventSource.FilterDialect> getFilterDialect()
Gets the value of the filterDialect 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 filterDialect property.

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

    getFilterDialect().add(newItem);
 

Objects of the following type(s) are allowed in the list EventSource.FilterDialect


getFormatName

public List<EventSource.FormatName> getFormatName()
Gets the value of the formatName 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 formatName property.

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

    getFormatName().add(newItem);
 

Objects of the following type(s) are allowed in the list EventSource.FormatName


getDateTimeSupported

public Empty getDateTimeSupported()
Gets the value of the dateTimeSupported property.

Returns:
possible object is Empty

setDateTimeSupported

public void setDateTimeSupported(Empty value)
Sets the value of the dateTimeSupported property.

Parameters:
value - allowed object is Empty

getExpires

public EventSource.Expires getExpires()
Gets the value of the expires property.

Returns:
possible object is EventSource.Expires

setExpires

public void setExpires(EventSource.Expires value)
Sets the value of the expires property.

Parameters:
value - allowed object is EventSource.Expires

getEndToSupported

public Empty getEndToSupported()
Gets the value of the endToSupported property.

Returns:
possible object is Empty

setEndToSupported

public void setEndToSupported(Empty value)
Sets the value of the endToSupported property.

Parameters:
value - allowed object is Empty

getNotificationPolicy

public NotificationPolicy getNotificationPolicy()
Gets the value of the notificationPolicy property.

Returns:
possible object is NotificationPolicy

setNotificationPolicy

public void setNotificationPolicy(NotificationPolicy value)
Sets the value of the notificationPolicy property.

Parameters:
value - allowed object is NotificationPolicy

getAny

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

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

    getAny().add(newItem);
 

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


getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

Apache CXF API

Apache CXF