com.jxml.quick.ocm
Class OCMpeerFactoryMapByTag

java.lang.Object
  |
  +--com.jxml.quick.ocm.OCMpeerFactoryMap
        |
        +--com.jxml.quick.ocm.OCMpeerFactoryMapByTag
All Implemented Interfaces:
OCMbase, OCMpeerFactory

public class OCMpeerFactoryMapByTag
extends OCMpeerFactoryMap

Maps data model tags to peer classes.

DTD:

<!ELEMENT FactoryByTag((tagName,peerClass)+)>

<!ATTLIST FactoryByTag
    defaultPeerClass CDATA #IMPLIED
    ID CDATA #IMPLIED
>


Inner classes inherited from class com.jxml.quick.ocm.OCMbase
OCMbase.SubBase
 
Fields inherited from class com.jxml.quick.ocm.OCMpeerFactoryMap
entries
 
Constructor Summary
OCMpeerFactoryMapByTag()
           
 
Method Summary
 OCMpeer createPeer(Object dataModel, OCMcontext context, OCMpeer parent)
          Return a peer object.
 
Methods inherited from class com.jxml.quick.ocm.OCMpeerFactoryMap
spawn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCMpeerFactoryMapByTag

public OCMpeerFactoryMapByTag()
Method Detail

createPeer

public OCMpeer createPeer(Object dataModel,
                          OCMcontext context,
                          OCMpeer parent)
                   throws SAXException,
                          IOException
Return a peer object.
Overrides:
createPeer in class OCMpeerFactoryMap