public class Metadatas extends Object
Streams is a utility class that helps to manipulate streams.| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
findAttributes(org.apache.felix.ipojo.metadata.Element metadata,
String attributeName)
Find all the values of the specified attribute in the given element.
|
static void |
findFields(List<String> fields,
org.apache.felix.ipojo.metadata.Element metadata)
Looks for 'field' attribute in the given metadata.
|
static Set<String> |
findReferredPackages(org.apache.felix.ipojo.metadata.Element metadata)
Get packages referenced by component.
|
static String |
getComponentType(org.apache.felix.ipojo.metadata.Element meta)
Return the classname attribute value.
|
public static String getComponentType(org.apache.felix.ipojo.metadata.Element meta)
meta - metadata to be exploredpublic static void findFields(List<String> fields, org.apache.felix.ipojo.metadata.Element metadata)
fields - discovered fields (accumulator)metadata - metadata to inspectpublic static Set<String> findReferredPackages(org.apache.felix.ipojo.metadata.Element metadata)
metadata - Element base for the searchpublic static Set<String> findAttributes(org.apache.felix.ipojo.metadata.Element metadata, String attributeName)
metadata - Element to be traversedattributeName - Search attribute nameCopyright © 2006–2023 The Apache Software Foundation. All rights reserved.