KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jdesktop > jdnc > markup > elem > DefaultElement


1 /*
2  * $Id: DefaultElement.java,v 1.1.1.1 2004/06/16 01:43:40 davidson1 Exp $
3  *
4  * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
5  * Santa Clara, California 95054, U.S.A. All rights reserved.
6  */

7
8 package org.jdesktop.jdnc.markup.elem;
9
10 import org.w3c.dom.Element JavaDoc;
11 import net.openmarkup.ElementType;
12
13 /**
14  * Element implememtation to use if the elements doesn't contain any sub-elements
15  * or attributes. This implementation will return an instance of the
16  * object class.
17  */

18 public class DefaultElement extends ElementProxy {
19     
20     public DefaultElement(Element JavaDoc element, ElementType elementType) {
21     super(element, elementType);
22     }
23 }
24
25
Popular Tags