org.apache.xerces.impl.xs.models

Class CMBuilder


public class CMBuilder
extends java.lang.Object

This class constructs content models for a given grammar.

Version:
$Id: CMBuilder.java,v 1.21 2004/02/03 17:27:45 sandygao Exp $

Authors:
Elena Litani, IBM
Sandy Gao, IBM

Constructor Summary

CMBuilder(CMNodeFactory nodeFactory)

Method Summary

XSCMValidator
getContentModel(XSComplexTypeDecl typeDecl)
Get content model for the a given type
void
setDeclPool(XSDeclarationPool declPool)

Constructor Details

CMBuilder

public CMBuilder(CMNodeFactory nodeFactory)

Method Details

getContentModel

public XSCMValidator getContentModel(XSComplexTypeDecl typeDecl)
Get content model for the a given type

Parameters:
typeDecl - get content model for which complex type

Returns:
a content model validator


setDeclPool

public void setDeclPool(XSDeclarationPool declPool)


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.