|
||||||||||
| 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 collection| Method Detail |
public java.lang.String getName()
throws org.xmldb.api.base.XMLDBException
getName in interface org.xmldb.api.base.CollectionCollection.getName()
public org.xmldb.api.base.Service[] getServices()
throws org.xmldb.api.base.XMLDBException
getServices in interface org.xmldb.api.base.CollectionCollection.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.CollectionCollection.getService(String, String)
public org.xmldb.api.base.Collection getParentCollection()
throws org.xmldb.api.base.XMLDBException
getParentCollection in interface org.xmldb.api.base.CollectionCollection.getParentCollection()
public int getChildCollectionCount()
throws org.xmldb.api.base.XMLDBException
getChildCollectionCount in interface org.xmldb.api.base.CollectionCollection.getChildCollectionCount()
public java.lang.String[] listChildCollections()
throws org.xmldb.api.base.XMLDBException
listChildCollections in interface org.xmldb.api.base.CollectionCollection.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.CollectionCollection.getChildCollection(String)
public int getResourceCount()
throws org.xmldb.api.base.XMLDBException
getResourceCount in interface org.xmldb.api.base.CollectionCollection.getResourceCount()
public java.lang.String[] listResources()
throws org.xmldb.api.base.XMLDBException
listResources in interface org.xmldb.api.base.CollectionCollection.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.CollectionCollection.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.CollectionCollection.removeResource(Resource)
public void storeResource(org.xmldb.api.base.Resource resource)
throws org.xmldb.api.base.XMLDBException
storeResource in interface org.xmldb.api.base.CollectionCollection.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.CollectionCollection.getResource(String)
public java.lang.String createId()
throws org.xmldb.api.base.XMLDBException
createId in interface org.xmldb.api.base.CollectionCollection.createId()
public boolean isOpen()
throws org.xmldb.api.base.XMLDBException
isOpen in interface org.xmldb.api.base.CollectionCollection.isOpen()
public void close()
throws org.xmldb.api.base.XMLDBException
close in interface org.xmldb.api.base.CollectionCollection.close()
public java.lang.String getProperty(java.lang.String s)
throws org.xmldb.api.base.XMLDBException
getProperty in interface org.xmldb.api.base.ConfigurableConfigurable.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.ConfigurableConfigurable.setProperty(String, String)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||