com.teamkonzept.dom4jb.schema
Class CollectionAdapter

java.lang.Object
  |
  +--com.teamkonzept.dom4jb.schema.GroupDescriptor
        |
        +--com.teamkonzept.dom4jb.schema.CollectionAdapter
All Implemented Interfaces:
Groupable
Direct Known Subclasses:
MapAdapter

public class CollectionAdapter
extends GroupDescriptor


Nested Class Summary
static class CollectionAdapter.AttributeAdapter
           
static class CollectionAdapter.ContentAdapter
           
static class CollectionAdapter.ElementAdapter
           
static class CollectionAdapter.Item
           
 
Field Summary
protected  Groupable adapter
           
 
Fields inherited from class com.teamkonzept.dom4jb.schema.GroupDescriptor
EMPTY_DESCRIPTOR
 
Constructor Summary
CollectionAdapter()
          Creates new CollectionAdapter
CollectionAdapter(Groupable itemAdapter)
          Creates new CollectionAdapter
CollectionAdapter(String itemName)
          Creates new CollectionAdapter
 
Method Summary
 void addTo(List list)
           
protected static Groupable getAdapter(String name)
           
 ContentIterator getContentIterator(Document doc, Object obj)
           
protected static ElementDescriptor getDescriptor(String name)
           
 boolean isEmpty()
           
 
Methods inherited from class com.teamkonzept.dom4jb.schema.GroupDescriptor
getContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adapter

protected final Groupable adapter
Constructor Detail

CollectionAdapter

public CollectionAdapter()
Creates new CollectionAdapter


CollectionAdapter

public CollectionAdapter(String itemName)
Creates new CollectionAdapter


CollectionAdapter

public CollectionAdapter(Groupable itemAdapter)
Creates new CollectionAdapter

Method Detail

getAdapter

protected static Groupable getAdapter(String name)

getDescriptor

protected static ElementDescriptor getDescriptor(String name)

getContentIterator

public ContentIterator getContentIterator(Document doc,
                                          Object obj)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in class GroupDescriptor

addTo

public void addTo(List list)


Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.