org.apache.ws.jaxme.xs.impl
Class XSUtil
java.lang.Object
org.apache.ws.jaxme.xs.impl.XSUtil
public class XSUtil
extends java.lang.Object
static List | getAppinfos(XSAnnotation[] annotations, Class pClass) - Returns all childs of xs:annotation/xs:appinfo implementing
or extending the given class.
|
static Object | getSingleAppinfo(XSAnnotation[] annotations, Class pClass) - Returns the first child of xs:annotation/xs:appinfo implementing
or extending the given class.
|
getAppinfos
public static List getAppinfos(XSAnnotation[] annotations,
Class pClass)
Returns all childs of xs:annotation/xs:appinfo implementing
or extending the given class.
getSingleAppinfo
public static Object getSingleAppinfo(XSAnnotation[] annotations,
Class pClass)
throws SAXException
Returns the first child of xs:annotation/xs:appinfo implementing
or extending the given class. Ensures that the child is unique.
- The unique child or null, if no such child exists.