Get docTypes in a collection

I can get all the collections by the following code
TaminoStore store = new TaminoStore(“http://localhost/tamino/mydb”,userID,passWD);
Iterator iter = store.getCollectionNames().iterator();
while (iter.hasNext()) {
String coll = (String);
System.out.println("Collection : " + coll);

How can I get the list of docType in a collection?
Can you give sample code?

The TaminoStore doesn’t have a getDoctypesNames method. However, its quite easy to add one. You could use the getCollectionNames method as a starting point and replace the getCollectionNames call inside with a getDoctypeNames call.


Software AG Germany, Darmstadt