KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > impl > core > nodetype > nt > Content


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5
6 package org.exoplatform.services.jcr.impl.core.nodetype.nt;
7
8
9 import javax.jcr.nodetype.NodeType;
10 import org.exoplatform.services.jcr.impl.core.nodetype.NodeTypeImpl;
11
12
13 /**
14  * Created by The eXo Platform SARL .
15  *
16  * @author <a HREF="mailto:geaz@users.sourceforge.net">Gennady Azarenkov</a>
17  * @version $Id: Content.java,v 1.2 2004/07/08 23:36:48 benjmestrallet Exp $
18  */

19
20 public class Content extends NodeTypeImpl {
21
22   public Content() {
23     this.name = "nt:content";
24     this.declaredSupertypes = new NodeType[2]; //3
25
this.declaredSupertypes[0] = new Default();
26     this.declaredSupertypes[1] = new org.exoplatform.services.jcr.impl.core.nodetype.mix.Referenceable();
27 // this.declaredSupertypes[2] = new Versionable();
28

29   }
30
31 }
32
Popular Tags