org.apache.ws.commons.schema
Class XmlSchemaObjectTable

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObjectTable

public class XmlSchemaObjectTable
extends java.lang.Object

A collection class that provides read-only helpers for XmlSchemaObject objects. This class is used to provide the collections for contained elements that are within the schema as collections that are accessed from the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).

Author:
mukund

Field Summary
(package private)  java.util.HashMap collection
           
 
Constructor Summary
XmlSchemaObjectTable()
          Creates new XmlSchemaObjectTable
 
Method Summary
 void add(javax.xml.namespace.QName name, XmlSchemaObject value)
           
 boolean contains(javax.xml.namespace.QName name)
           
 int getCount()
           
 XmlSchemaObject getItem(javax.xml.namespace.QName name)
           
 java.util.Iterator getNames()
           
 java.util.Iterator getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collection

java.util.HashMap collection
Constructor Detail

XmlSchemaObjectTable

public XmlSchemaObjectTable()
Creates new XmlSchemaObjectTable

Method Detail

getCount

public int getCount()

getItem

public XmlSchemaObject getItem(javax.xml.namespace.QName name)

getNames

public java.util.Iterator getNames()

getValues

public java.util.Iterator getValues()

contains

public boolean contains(javax.xml.namespace.QName name)

add

public void add(javax.xml.namespace.QName name,
                XmlSchemaObject value)


Copyright 2004-2004-2006 Apache Software Foundation. All Rights Reserved.