org.codehaus.activesoap.handler.stax
Interface AnyContent

All Superinterfaces:
ElementContent
All Known Implementing Classes:
EndpointReferenceType, ReferencePropertiesType

public interface AnyContent
extends ElementContent

Represents a POJO which can be extended with any content using xsd:any.

Version:
$Revision: 1.2 $

Method Summary
 List getAny()
          Gets the value of the any property.
 
Methods inherited from interface org.codehaus.activesoap.handler.stax.ElementContent
writeContent
 

Method Detail

getAny

public List 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



Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.