myx
Class myxXQuerySaxonService

java.lang.Object
  extended by myx.myxXQuerySaxonService
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Service, org.xmldb.api.modules.XPathQueryService

public class myxXQuerySaxonService
extends java.lang.Object
implements org.xmldb.api.modules.XPathQueryService

Author:
Mladen Adamovic (adamm@blic.net)

Constructor Summary
myxXQuerySaxonService()
           
myxXQuerySaxonService(org.xmldb.api.base.Collection col)
           
 
Method Summary
 void clearNamespaces()
           
 java.lang.String getName()
           
 java.lang.String getNamespace(java.lang.String prefix)
           
 java.lang.String getProperty(java.lang.String name)
           
 java.lang.String getVersion()
           
 org.xmldb.api.base.ResourceSet query(java.lang.String query)
           
 org.xmldb.api.base.ResourceSet queryResource(java.lang.String id, java.lang.String query)
           
 void removeNamespace(java.lang.String prefix)
           
 void setCollection(org.xmldb.api.base.Collection col)
           
 void setNamespace(java.lang.String prefix, java.lang.String uri)
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

myxXQuerySaxonService

public myxXQuerySaxonService()

myxXQuerySaxonService

public myxXQuerySaxonService(org.xmldb.api.base.Collection col)
Parameters:
col -
Method Detail

setNamespace

public void setNamespace(java.lang.String prefix,
                         java.lang.String uri)
                  throws org.xmldb.api.base.XMLDBException
Specified by:
setNamespace in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
XPathQueryService.setNamespace(java.lang.String, java.lang.String)

getNamespace

public java.lang.String getNamespace(java.lang.String prefix)
                              throws org.xmldb.api.base.XMLDBException
Specified by:
getNamespace in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
XPathQueryService.getNamespace(java.lang.String)

removeNamespace

public void removeNamespace(java.lang.String prefix)
                     throws org.xmldb.api.base.XMLDBException
Specified by:
removeNamespace in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
XPathQueryService.removeNamespace(java.lang.String)

clearNamespaces

public void clearNamespaces()
                     throws org.xmldb.api.base.XMLDBException
Specified by:
clearNamespaces in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
XPathQueryService.clearNamespaces()

query

public org.xmldb.api.base.ResourceSet query(java.lang.String query)
                                     throws org.xmldb.api.base.XMLDBException
Specified by:
query in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
Use iterator over Collections.listChildCollections() and call queryResource

queryResource

public org.xmldb.api.base.ResourceSet queryResource(java.lang.String id,
                                                    java.lang.String query)
                                             throws org.xmldb.api.base.XMLDBException
Specified by:
queryResource in interface org.xmldb.api.modules.XPathQueryService
Throws:
org.xmldb.api.base.XMLDBException
See Also:
XPathQueryService.queryResource(java.lang.String, java.lang.String)

getName

public java.lang.String getName()
                         throws org.xmldb.api.base.XMLDBException
Specified by:
getName in interface org.xmldb.api.base.Service
Throws:
org.xmldb.api.base.XMLDBException
See Also:
Service.getName()

getVersion

public java.lang.String getVersion()
                            throws org.xmldb.api.base.XMLDBException
Specified by:
getVersion in interface org.xmldb.api.base.Service
Throws:
org.xmldb.api.base.XMLDBException
See Also:
Service.getVersion()

setCollection

public void setCollection(org.xmldb.api.base.Collection col)
                   throws org.xmldb.api.base.XMLDBException
Specified by:
setCollection in interface org.xmldb.api.base.Service
Throws:
org.xmldb.api.base.XMLDBException
See Also:
Service.setCollection(org.xmldb.api.base.Collection)

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws org.xmldb.api.base.XMLDBException
Specified by:
getProperty in interface org.xmldb.api.base.Configurable
Throws:
org.xmldb.api.base.XMLDBException
See Also:
Configurable.getProperty(java.lang.String)

setProperty

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


Copyright © 2005 myXMLDB. All Rights Reserved.