public class XSUtil
extends java.lang.Object
Constructor and Description |
---|
XSUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
getAppinfos(XSAnnotation[] annotations,
java.lang.Class pClass)
Returns all childs of xs:annotation/xs:appinfo implementing
or extending the given class.
|
static java.lang.Object |
getSingleAppinfo(XSAnnotation[] annotations,
java.lang.Class pClass)
Returns the first child of xs:annotation/xs:appinfo implementing
or extending the given class.
|
public static java.util.List getAppinfos(XSAnnotation[] annotations, java.lang.Class pClass)
Returns all childs of xs:annotation/xs:appinfo implementing or extending the given class.
public static java.lang.Object getSingleAppinfo(XSAnnotation[] annotations, java.lang.Class pClass) throws org.xml.sax.SAXException
Returns the first child of xs:annotation/xs:appinfo implementing or extending the given class. Ensures that the child is unique.
org.xml.sax.SAXException