org.apache.muse.ws.dm.muws.events
Interface ExtendedElements
- All Known Subinterfaces:
- Component, ComponentAddress, ManagementEvent
- All Known Implementing Classes:
- AbstractExtendedElements, SimpleComponent, SimpleComponentAddress, SimpleManagementEvent
public interface ExtendedElements
This is a utility interface for WEF components that can be extended
with arbitrary elements (their schema definitions include an xsd:any).
The elements added using this interface's methods will be serialized
under the root element of the concrete class' XML representation.
- Author:
- Dan Jemiolo (danj)
addExtendedElement
void addExtendedElement(Element xml)
- Parameters:
xml
- The custom XML that will be added to end of the WEF component.
addExtendedElement
void addExtendedElement(QName elementName,
Object elementValue)
- Parameters:
elementName
- The name of the XML element that will be added to the end of
the WEF component.elementValue
- The value that will be serialized to XML and added to the end
of the WEF component.
getExtendedElements
Collection getExtendedElements()
- Returns:
- All Elements added using the addExtendedElement() method(s).
getExtendedElements
Collection getExtendedElements(QName elementName)
- Parameters:
elementName
- The QName of the desired Element(s)
- Returns:
- The set of extended Elements (which were provided using
the addExtendedElement() methods) whose names are equal
to the one given.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.