|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.xml.CatalogLocation
public class CatalogLocation
A ThreadSpecificCatalogs class maintains all catalogfiles catolog.xml found in the
Thread.currentThread().getContextClassLoader().
| Constructor Summary | |
|---|---|
CatalogLocation(URL url)
Create a new CatalogLocation. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
To catalog locations are qual if the location is equal. |
int |
hashCode()
Two catalog locations have the same hash code if the location is equal. |
boolean |
isEntityResolved()
Returns the boolean value to inform id DTD was found in the XML file or not |
static URL |
lookupCatalogFiles()
Seach the path for oasis catalog files. |
InputSource |
resolveEntity(String publicId,
String systemId)
Tries to resolve the entity using the thread specific catolog resolvers |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatalogLocation(URL url)
throws IOException
url - - the location of the catalog xml file
IOException - if the catalog files cannot be loaded| Method Detail |
|---|
public InputSource resolveEntity(String publicId,
String systemId)
throws MalformedURLException,
IOException
publicId - - Public ID of DTD, or null if it is a schemasystemId - - the system ID of DTD or Schema
MalformedURLException - - if the url is wrong
IOException - - error reading the local file
public static URL lookupCatalogFiles()
throws IOException
Thread.currentThread().getContextClassLoader()
is used for the lookup.
jax-ws-catalog.xml is located
IOException - if the catalog files cannot be loadedpublic boolean isEntityResolved()
public boolean equals(Object other)
equals in class Objectother - - the catlog location to compare
public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||