public final class PathInfo extends ExtensionHook
ExtensionHook.URIResourceElementVisitor.ResourceBundleProvider| Modifier and Type | Field and Description |
|---|---|
static ElementName |
HOOK_NAME |
static ElementName |
PATH_INFO_ELEMENT |
ATTRIBUTE_RSBUNDLE_CLASS, KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNSKEY_LOCATOR| Constructor and Description |
|---|
PathInfo() |
| Modifier and Type | Method and Description |
|---|---|
static PathInfo |
getInstance()
Get the PathInfo implementation that holds all the loaded
Path information
|
java.lang.String |
getPath(java.lang.String pathInfoId)
Get the path-info specified by pathInfoId.
|
java.net.URL |
getUrl(java.lang.String pathInfoId)
Get the path-info specified by pathInfoId, and evaluate it into a URL.
|
void |
start(ElementStartContext context)
Visit the start tag of an xml element.
|
findPath, getExtension, getProvider, getRSBundleClass, getSchemaLocation, resolvePath, setProvider, setSchemaLocationend, getAttributeHelper, getClassLoader, getMetaClassLoader, getResourceBundle, getResourceBundleProvider, getTextHelper, log, log, setResourceBundleProviderpublic static final ElementName HOOK_NAME
public static final ElementName PATH_INFO_ELEMENT
public static PathInfo getInstance()
public java.net.URL getUrl(java.lang.String pathInfoId)
throws java.lang.IllegalArgumentException
pathInfoId - java.lang.IllegalArgumentException - if pathInfoId hasn't been registeredpublic java.lang.String getPath(java.lang.String pathInfoId)
throws java.lang.IllegalArgumentException
pathInfoId - java.lang.IllegalArgumentException - if pathInfoId hasn't been registeredpublic void start(ElementStartContext context)
ElementVisitorThis implementation does nothing.
start in class ElementVisitorcontext - information about the xml start tag.