public class PCMetaHelper extends Object
Constructor and Description |
---|
PCMetaHelper() |
Modifier and Type | Method and Description |
---|---|
static Map |
convertViewPropertiesToMap(View view)
Convert a
View into a map of name/value pairs of the properties contained
within that view. |
static void |
delete(URI uri)
Delete a MWS resource, given it's MWS thing URI
|
static View |
getView(URI uri)
Get a View of a MWS thing, given it's URI
|
static ListView |
listChildren(URI uri)
Retrieve a list of child resources within a MWS container
|
public static View getView(URI uri) throws Exception
uri
- the MWS thing URIException
public static void delete(URI uri) throws Exception
uri
- the MWS thing URIException
public static ListView listChildren(URI uri) throws Exception
uri
- the MWS thing URI of the containerException
public static Map convertViewPropertiesToMap(View view)
View
into a map of name/value pairs of the properties contained
within that view.view
- the View to retrieve properties from