|
||||||||||
| 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
| Field Summary | |
static String |
DOMAIN
|
static String |
DTD_SUBPATH
|
static String |
XMLNS_SUBPATH
|
| Constructor Summary | |
XMLEntityResolver()
empty constructor |
|
XMLEntityResolver(boolean v)
|
|
XMLEntityResolver(boolean v,
Class base)
|
|
| Method Summary | |
String |
getDTDPath()
|
boolean |
hasDTD()
|
static void |
registerPublicID(String publicID,
String dtd,
Class c)
Register a given publicID, binding it to a resource determined by a given class and resource filename |
static void |
registerSystemID(String systemID,
String xsd,
Class c)
It seems that in XSD's you don't have public id's. |
InputSource |
resolveEntity(String publicId,
String systemId)
Takes the systemId and returns the local location of the dtd/xsd |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DOMAIN
public static final String DTD_SUBPATH
public static final String XMLNS_SUBPATH
| Constructor Detail |
public XMLEntityResolver()
public XMLEntityResolver(boolean v)
public XMLEntityResolver(boolean v,
Class base)
| Method Detail |
public static void registerPublicID(String publicID,
String dtd,
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 static void registerSystemID(String systemID,
String xsd,
Class c)
public InputSource resolveEntity(String publicId,
String systemId)
resolveEntity in interface EntityResolverpublic boolean hasDTD()
public String getDTDPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||