|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.util.XMLEntityResolver
Take the systemId and converts it into a local file, using the MMBase config path
| Constructor Summary | |
XMLEntityResolver()
empty constructor |
|
XMLEntityResolver(boolean v)
|
|
XMLEntityResolver(boolean v,
java.lang.Class base)
|
|
| Method Summary | |
java.lang.String |
getDTDPath()
|
boolean |
hasDTD()
|
static void |
registerPublicID(java.lang.String publicID,
java.lang.String dtd,
java.lang.Class c)
Register a given publicID, binding it to a resource determined by a given class and resource filename |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
takes the systemId and returns the local location of the dtd |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLEntityResolver()
public XMLEntityResolver(boolean v)
public XMLEntityResolver(boolean v,
java.lang.Class base)
| Method Detail |
public static void registerPublicID(java.lang.String publicID,
java.lang.String dtd,
java.lang.Class c)
publicID - the Public ID to registerdtd - the name of the resourcefilec - the class indicating the location of the resource in the pacakage structure. The
resource is to be found in the 'resources' package under the package of the class.
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverorg.xml.sax.SAXException
java.io.IOExceptionpublic boolean hasDTD()
public java.lang.String getDTDPath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||