| java.lang.Object org.mmbase.util.xml.DocumentReader org.mmbase.storage.implementation.database.DatabaseStorageLookup
DatabaseStorageLookup | public class DatabaseStorageLookup extends DocumentReader (Code) | | Represents a xml document that can be used to determine the database configuration resource,
based on a database's metadata.
author: Pierre van Rooden since: MMBase-1.7 version: $Id: DatabaseStorageLookup.java,v 1.8 2006/09/25 14:08:45 michiel Exp $ |
DTD_DATABASE_STORAGE_LOOKUP | final public static String DTD_DATABASE_STORAGE_LOOKUP(Code) | | DTD resource filename of the most Database DTD
|
DTD_DATABASE_STORAGE_LOOKUP_1_0 | final public static String DTD_DATABASE_STORAGE_LOOKUP_1_0(Code) | | DTD resource filename of the Database DTD version 1.0
|
PUBLIC_ID_DATABASE_STORAGE_LOOKUP | final public static String PUBLIC_ID_DATABASE_STORAGE_LOOKUP(Code) | | Public ID of the most recent Database DTD
|
PUBLIC_ID_DATABASE_STORAGE_LOOKUP_1_0 | final public static String PUBLIC_ID_DATABASE_STORAGE_LOOKUP_1_0(Code) | | Public ID of the Storage DTD version 1.0
|
DatabaseStorageLookup | DatabaseStorageLookup()(Code) | | Constructor, accesses the storage lookup xml resource
|
getMetaURL | String getMetaURL(Class clazz)(Code) | | Returns an given connection URL for a given Driver CLass. Or null if no such
thing was defined in lookup.xml. In that case the configured URL in MMBase can be used.
since: MMBase-1.8 |
Methods inherited from org.mmbase.util.xml.DocumentReader | public static void appendChild(Element parent, Element newChild, String path)(Code)(Java Doc) public static String getAttribute(Element element, String nameSpace, String localName)(Code)(Java Doc) public List<Element> getChildElements(String path)(Code)(Java Doc) public List<Element> getChildElements(Element e)(Code)(Java Doc) public List<Element> getChildElements(String path, String tag)(Code)(Java Doc) public List<Element> getChildElements(Element e, String tag)(Code)(Java Doc) public static DocumentBuilder getDocumentBuilder()(Code)(Java Doc) public static DocumentBuilder getDocumentBuilder(boolean validating)(Code)(Java Doc) public static DocumentBuilder getDocumentBuilder(boolean validating, ErrorHandler handler, EntityResolver resolver)(Code)(Java Doc) public static DocumentBuilder getDocumentBuilder(boolean validating, boolean xsd, ErrorHandler handler, EntityResolver resolver)(Code)(Java Doc) public String getElementAttributeValue(String path, String attr)(Code)(Java Doc) public String getElementAttributeValue(Element e, String attr)(Code)(Java Doc) public Element getElementByPath(String path)(Code)(Java Doc) public Element getElementByPath(Element e, String path)(Code)(Java Doc) public String getElementName(Element e)(Code)(Java Doc) public String getElementValue(String path)(Code)(Java Doc) public String getElementValue(Element e)(Code)(Java Doc) public static String getNodeTextValue(Node n)(Code)(Java Doc) public static String getNodeTextValue(Node n, boolean trim)(Code)(Java Doc) public Element getRootElement()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public static boolean hasAttribute(Element element, String nameSpace, String localName)(Code)(Java Doc) public static void main(String argv) throws Exception(Code)(Java Doc) public static void registerPublicIDs()(Code)(Java Doc) public static void setNodeTextValue(Node n, String value)(Code)(Java Doc) public static void setPrefix(Document d, String ns, String prefix)(Code)(Java Doc) public void setSystemId(String url)(Code)(Java Doc) public static Document toDocument(Element element)(Code)(Java Doc) final protected static boolean validate()(Code)(Java Doc) final protected static boolean validate(boolean requested)(Code)(Java Doc)
|
|
|