Class BXDatabase

java.lang.Object
org.basex.api.xmldb.BXDatabase
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Database

public final class BXDatabase extends Object implements org.xmldb.api.base.Database
Implementation of the Database Interface for the XMLDB:API.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • BXDatabase

      public BXDatabase()
  • Method Details

    • acceptsURI

      public boolean acceptsURI(String uri) throws org.xmldb.api.base.XMLDBException
      Specified by:
      acceptsURI in interface org.xmldb.api.base.Database
      Throws:
      org.xmldb.api.base.XMLDBException
    • getCollection

      public org.xmldb.api.base.Collection getCollection(String uri, String user, String password) throws org.xmldb.api.base.XMLDBException
      Specified by:
      getCollection in interface org.xmldb.api.base.Database
      Throws:
      org.xmldb.api.base.XMLDBException
    • getConformanceLevel

      public String getConformanceLevel()
      Specified by:
      getConformanceLevel in interface org.xmldb.api.base.Database
    • getName

      public String getName()
      Specified by:
      getName in interface org.xmldb.api.base.Database
    • getProperty

      public String getProperty(String name)
      Specified by:
      getProperty in interface org.xmldb.api.base.Configurable
    • setProperty

      public void setProperty(String name, String value) throws org.xmldb.api.base.XMLDBException
      Specified by:
      setProperty in interface org.xmldb.api.base.Configurable
      Throws:
      org.xmldb.api.base.XMLDBException