home *** CD-ROM | disk | FTP | other *** search
- package com.ms.xml.om;
-
- import java.util.Enumeration;
-
- public class ElementDeclEnumeration implements Enumeration {
- Enumeration elemDecls;
-
- public Object nextElement() {
- Element var1 = (Element)this.elemDecls.nextElement();
- return var1.toSchema();
- }
-
- public ElementDeclEnumeration(Enumeration var1) {
- this.elemDecls = var1;
- }
-
- public ElementDeclEnumeration(Element var1) {
- this.elemDecls = var1 != null ? var1.getElements() : null;
- }
-
- public boolean hasMoreElements() {
- return this.elemDecls.hasMoreElements();
- }
- }
-