XmlReader -- read in and print out expected values from the specified
file (supposedly the jbi.xml file from the archive).
author: Sun Microsystems, Inc.
resolveEntity(String publicId, String systemId) The resolveEntity method resolves schema references only, a reference
to the XML definition of the XML configuration file is resolved to return
an InputSource created for the local schema definition file.
This is a callback from the XML parser used to handle errors.
Parameters: aSaxException - SAXParseException is the error. throws: org.xml.sax.SAXException - when finished logging.
This is a callback from the XML parser used to handle errors.
Parameters: aSaxException - SAXParseException is the error. throws: org.xml.sax.SAXException - when finished logging.
Return the XML Document.
the document as a DOM tree
isAlternateBootstrapClassLoaderDelegation
public boolean isAlternateBootstrapClassLoaderDelegation()(Code)
Function to specify if the parsed component had an alternate bootstrap
class loader delegation.
true iff the last component parsed had an alternate bootstrapclass loader delegation.
isAlternateComponentClassLoaderDelegation
public boolean isAlternateComponentClassLoaderDelegation()(Code)
Function to specify if the parsed component had an alternate component
class loader delegation.
true iff the last component parsed had an alternate componentclass loader delegation.
isAlternateSharedLibraryClassLoaderDelegation
public boolean isAlternateSharedLibraryClassLoaderDelegation()(Code)
Function to specify if the parsed shared library had an alternate
class loader delegation.
true iff the last shared library parsed had an alternateclass loader delegation.
Extract all information from the jbi.xml file.
Parameters: aFileName - the specified "jbi.xml" file Parameters: isOnlyIdNeeded - true if we want to return Id (only) the UUID of the JBI component throws: Exception - when unable to process a validconfiguration file.
The resolveEntity method resolves schema references only, a reference
to the XML definition of the XML configuration file is resolved to return
an InputSource created for the local schema definition file. The schema definition
file should be present in the EntityResolvers work directory. If the referenced
entity is not the schema definition a null value is returned such that the XML
parser can apply the default entity resolution logic.
Parameters: publicId - - The public identifier of the external entity being referenced,or null if none was supplied. Parameters: systemId - - The system identifier of the external entity being referenced. An InputSource object describing the new input source, or null to requestthat the parser open a regular URI connection to the system identifier See Also:org.xml.sax.EntityResolver
Find the specified Xpath element, and return it as an array.
Parameters: anXpath - the path to the element we want the element as an array throws: javax.xml.transform.TransformerException - unexpectedly.
Find the specified Xpath element, and return it as a string.
Parameters: anXpath - the path to the element we want the element as a string throws: javax.xml.transform.TransformerException - unexpectedly.
display the information found.
Note: This routine is *not* called from anywhere that records to the
server.log file (it's only used by regression test manage00002), so the
println messages in this routine are known to not be I18N'd.
Validate the jbi.xml file.
Parameters: istr - is the InputStream to the "jbi.xml" file true iff the file passes validation throws: Exception - when unable to process a validconfiguration file.
Validate the jbi.xml file.
Parameters: aFileName - the specified "jbi.xml" file true iff the file passes validation throws: Exception - when unable to process a validconfiguration file.
Validate management message.
Parameters: aMMsgStr - management message string true iff the file passes validation throws: Exception - when unable to process a validconfiguration file.
This is a callback from the XML parser used to handle warnings.
Parameters: aSaxException - SAXParseException is the warning. throws: org.xml.sax.SAXException - when finished logging.