org.apache.muse.ws.dm.muws.impl
Class MetricDecorationProvider
java.lang.Object
org.apache.muse.ws.dm.muws.impl.MetricDecorationProvider
- All Implemented Interfaces:
- PropertyReadListener
public class MetricDecorationProvider
- extends Object
- implements PropertyReadListener
MetricDecorationProvider is a simple property listener that adds the standard
WSDM MetricAttributes attributes to a property's XML definition. This
listener is invoked just before the property's XML is returned to a client
during a WS-RP read. It takes the metric's metadata and adds it to the XML
being returned without modifying the WS-RP collection itself.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricDecorationProvider
public MetricDecorationProvider(Metric metric)
getPropertyName
public QName getPropertyName()
- Specified by:
getPropertyName
in interface PropertyReadListener
readRequested
public Element[] readRequested(Element[] properties)
- Specified by:
readRequested
in interface PropertyReadListener
Copyright © 2013 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.