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 573322 2007-09-06 16:48:47Z peterjm $
Authors:
Elena Litani, IBM
Sandy Gao, IBM

Constructor Summary

CMBuilder(CMNodeFactory nodeFactory)

Method Summary

XSCMValidator
getContentModel(XSComplexTypeDecl typeDecl, boolean forUPA)
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,
                                     boolean forUPA)
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-2007 The Apache Software Foundation. All Rights Reserved.