|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.fastxmldb.impl.LocalCollection
The Collection implementation. This implementation uses a SequencedhashMap as the underlying map structure. You are guaranteed that you will get the resources back in the order in which you added them
Constructor Summary | |
LocalCollection(java.lang.String name)
Default constructor. |
Method Summary | |
void |
close()
|
java.lang.String |
createId()
not yet implemented |
org.xmldb.api.base.Resource |
createResource(java.lang.String docId,
java.lang.String type)
|
boolean |
equals(java.lang.Object o)
|
org.xmldb.api.base.Collection |
getChildCollection(java.lang.String s)
not yet implemented |
int |
getChildCollectionCount()
not yet implemented |
java.lang.String |
getName()
|
org.xmldb.api.base.Collection |
getParentCollection()
not yet implemented |
java.lang.String |
getProperty(java.lang.String s)
not yet implemented |
org.xmldb.api.base.Resource |
getResource(java.lang.String id)
|
int |
getResourceCount()
|
org.xmldb.api.base.Service |
getService(java.lang.String name,
java.lang.String version)
|
org.xmldb.api.base.Service[] |
getServices()
not yet implemented |
boolean |
isOpen()
not yet implemented |
java.lang.String[] |
listChildCollections()
not yet implemented |
java.lang.String[] |
listResources()
|
void |
removeResource(org.xmldb.api.base.Resource resource)
|
void |
setProperty(java.lang.String s,
java.lang.String s1)
not yet implemented |
void |
storeResource(org.xmldb.api.base.Resource resource)
|
java.lang.String |
toString()
This toString implementation allows you to quickly print out all of the contained XML documents (as strings). |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LocalCollection(java.lang.String name)
name
- the name of the collectionMethod Detail |
public java.lang.String getName() throws org.xmldb.api.base.XMLDBException
getName
in interface org.xmldb.api.base.Collection
Collection.getName()
public org.xmldb.api.base.Service[] getServices() throws org.xmldb.api.base.XMLDBException
getServices
in interface org.xmldb.api.base.Collection
Collection.getServices()
public org.xmldb.api.base.Service getService(java.lang.String name, java.lang.String version) throws org.xmldb.api.base.XMLDBException
getService
in interface org.xmldb.api.base.Collection
Collection.getService(String, String)
public org.xmldb.api.base.Collection getParentCollection() throws org.xmldb.api.base.XMLDBException
getParentCollection
in interface org.xmldb.api.base.Collection
Collection.getParentCollection()
public int getChildCollectionCount() throws org.xmldb.api.base.XMLDBException
getChildCollectionCount
in interface org.xmldb.api.base.Collection
Collection.getChildCollectionCount()
public java.lang.String[] listChildCollections() throws org.xmldb.api.base.XMLDBException
listChildCollections
in interface org.xmldb.api.base.Collection
Collection.listChildCollections()
public org.xmldb.api.base.Collection getChildCollection(java.lang.String s) throws org.xmldb.api.base.XMLDBException
getChildCollection
in interface org.xmldb.api.base.Collection
Collection.getChildCollection(String)
public int getResourceCount() throws org.xmldb.api.base.XMLDBException
getResourceCount
in interface org.xmldb.api.base.Collection
Collection.getResourceCount()
public java.lang.String[] listResources() throws org.xmldb.api.base.XMLDBException
listResources
in interface org.xmldb.api.base.Collection
Collection.listResources()
public org.xmldb.api.base.Resource createResource(java.lang.String docId, java.lang.String type) throws org.xmldb.api.base.XMLDBException
createResource
in interface org.xmldb.api.base.Collection
Collection.createResource(String, String)
public void removeResource(org.xmldb.api.base.Resource resource) throws org.xmldb.api.base.XMLDBException
removeResource
in interface org.xmldb.api.base.Collection
Collection.removeResource(Resource)
public void storeResource(org.xmldb.api.base.Resource resource) throws org.xmldb.api.base.XMLDBException
storeResource
in interface org.xmldb.api.base.Collection
Collection.storeResource(Resource)
public org.xmldb.api.base.Resource getResource(java.lang.String id) throws org.xmldb.api.base.XMLDBException
getResource
in interface org.xmldb.api.base.Collection
Collection.getResource(String)
public java.lang.String createId() throws org.xmldb.api.base.XMLDBException
createId
in interface org.xmldb.api.base.Collection
Collection.createId()
public boolean isOpen() throws org.xmldb.api.base.XMLDBException
isOpen
in interface org.xmldb.api.base.Collection
Collection.isOpen()
public void close() throws org.xmldb.api.base.XMLDBException
close
in interface org.xmldb.api.base.Collection
Collection.close()
public java.lang.String getProperty(java.lang.String s) throws org.xmldb.api.base.XMLDBException
getProperty
in interface org.xmldb.api.base.Configurable
Configurable.getProperty(String)
public void setProperty(java.lang.String s, java.lang.String s1) throws org.xmldb.api.base.XMLDBException
setProperty
in interface org.xmldb.api.base.Configurable
Configurable.setProperty(String, String)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |