org.apache.jackrabbit.core.nodetype
Class NodeTypeDefStore

java.lang.Object
  extended by org.apache.jackrabbit.core.nodetype.NodeTypeDefStore

public class NodeTypeDefStore
extends Object

NodeTypeDefStore ...


Constructor Summary
NodeTypeDefStore()
          Empty default constructor.
 
Method Summary
 void add(NodeTypeDef ntd)
           
 Collection all()
           
 boolean contains(Name name)
           
 NodeTypeDef get(Name name)
           
 void load(InputStream in)
           
 boolean remove(Name name)
           
 void removeAll()
           
 void store(OutputStream out, NamespaceRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeDefStore

public NodeTypeDefStore()
                 throws RepositoryException
Empty default constructor.

Throws:
RepositoryException
Method Detail

load

public void load(InputStream in)
          throws IOException,
                 InvalidNodeTypeDefException,
                 RepositoryException
Parameters:
in -
Throws:
IOException
InvalidNodeTypeDefException
RepositoryException

store

public void store(OutputStream out,
                  NamespaceRegistry registry)
           throws IOException,
                  RepositoryException
Parameters:
out -
registry -
Throws:
IOException
RepositoryException

add

public void add(NodeTypeDef ntd)
Parameters:
ntd -

remove

public boolean remove(Name name)
Parameters:
name -
Returns:

removeAll

public void removeAll()

contains

public boolean contains(Name name)
Parameters:
name -
Returns:

get

public NodeTypeDef get(Name name)
Parameters:
name -
Returns:

all

public Collection all()
Returns:


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.