Class JaxbClasspathCatalogResolver
- java.lang.Object
-
- org.jvnet.jaxb2.maven2.resolver.tools.CatalogResolver
-
- org.jvnet.jaxb2.maven2.resolver.tools.JaxbClasspathCatalogResolver
-
- All Implemented Interfaces:
URIResolver,EntityResolver
public class JaxbClasspathCatalogResolver extends CatalogResolver
-
-
Field Summary
Fields Modifier and Type Field Description static StringURI_SCHEME_CLASSPATH-
Fields inherited from class org.jvnet.jaxb2.maven2.resolver.tools.CatalogResolver
namespaceAware, validating
-
-
Constructor Summary
Constructors Constructor Description JaxbClasspathCatalogResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetResolvedEntity(String publicId, String systemId)Implements the guts of theresolveEntitymethod for the SAX interface.-
Methods inherited from class org.jvnet.jaxb2.maven2.resolver.tools.CatalogResolver
getCatalog, resolve, resolveEntity
-
-
-
-
Field Detail
-
URI_SCHEME_CLASSPATH
public static final String URI_SCHEME_CLASSPATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResolvedEntity
public String getResolvedEntity(String publicId, String systemId)
Description copied from class:CatalogResolverImplements the guts of theresolveEntitymethod for the SAX interface.Presented with an optional public identifier and a system identifier, this function attempts to locate a mapping in the catalogs.
If such a mapping is found, it is returned. If no mapping is found, null is returned.
- Overrides:
getResolvedEntityin classCatalogResolver- Parameters:
publicId- The public identifier for the entity in question. This may be null.systemId- The system identifier for the entity in question. XML requires a system identifier on all external entities, so this value is always specified.- Returns:
- The resolved identifier (a URI reference).
-
-