| java.lang.Object com.sun.jbi.jsf.util.ValidationUtilities
ValidationUtilities | final public class ValidationUtilities (Code) | | XML, XSD, XPath related utilities
author: Sun Microsystems Inc. |
GLASSFISH_INSTALL_ROOT | final public static String GLASSFISH_INSTALL_ROOT(Code) | | Description of the Field
|
SCAF_JBI_SCHEMA_LOC | final public static String SCAF_JBI_SCHEMA_LOC(Code) | | Description of the Field
|
getConfigExtensionJbiDocument | public static Document getConfigExtensionJbiDocument()(Code) | | Gets the ConfigExtensionJbiDocument attribute of the
ValidationUtilities class
The ConfigExtensionJbiDocument value |
getConfigExtensions | public static List<ConfigPropertyGroup> getConfigExtensions(Document aJbiDocument)(Code) | | Gets the ConfigExtensions attribute of the ValidationUtilities class
Parameters: aJbiDocument - Description of Parameter The ConfigExtensions value |
getJbiDocument | public static Document getJbiDocument()(Code) | | Gets the JbiDocument attribute of the ValidationUtilities class
The JbiDocument value |
getJbiType | public static String getJbiType(Document aJbiDescriptor)(Code) | | determines the JBI Type for a given JBI metadata descriptor (jbi.xml)
Parameters: aJbiDescriptor - an XML document representing a valid jbi.xmlfile the JBI type binding-component ,service-assembly , service-engine , orshared-library |
getMetaDataEntry | public static InputStream getMetaDataEntry()(Code) | | Get the jbi.xml file from given jar/zip file if present.
result InputStream containing jbi.xml data, or empty streamif no jbi.xml |
isArchiveEmptyOrInValid | public static boolean isArchiveEmptyOrInValid()(Code) | | Check zip file entry.
true iff the zipfile is empty |
isJbiXmlWellformed | public static boolean isJbiXmlWellformed()(Code) | | Validate the jbi.xml file for well-formedness.
true iff the file passes validation |
|
|