xylia.sax.contentmodelparser
Class ContentModelMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--xylia.sax.contentmodelparser.ContentModelMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, ParsedContentModelHandler, java.io.Serializable

public class ContentModelMap
extends java.util.HashMap
implements ParsedContentModelHandler

A Map of content models. Typically an instance of this class is used as a parameter to a ContentModelParserDeclHandler. As such it stores the content model produced by that objects ContentModelFactory. Content models are keyed by element name as a String. The type of the object returned by get depends on the type Copyright: Copyright (c) 2001 Company: MUN

Version:
1.0
Author:
Theodore S. Norvell
See Also:
ContentModelParserDeclHandler, ContentModelFactory, Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
ContentModelMap()
           
 
Method Summary
 void elementDecl(java.lang.String qname, java.lang.Object parsedContentModel)
          Receives the parsed content for an element.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ContentModelMap

public ContentModelMap()
Method Detail

elementDecl

public void elementDecl(java.lang.String qname,
                        java.lang.Object parsedContentModel)
                 throws org.xml.sax.SAXException
Description copied from interface: ParsedContentModelHandler
Receives the parsed content for an element.
Specified by:
elementDecl in interface ParsedContentModelHandler
Following copied from interface: xylia.sax.contentmodelparser.ParsedContentModelHandler
Parameters:
qname - The qualified name of the element
parsedContentModel - An object representing the content model.