super(type);
// Insure that its one of the types we require
if ((type() != XMLContentSpec.CONTENTSPECNODE_ZERO_OR_ONE)
&& (type() != XMLContentSpec.CONTENTSPECNODE_ZERO_OR_MORE)
&& (type() != XMLContentSpec.CONTENTSPECNODE_ONE_OR_MORE))
{
throw new RuntimeException("ImplementationMessages.VAL_UST");
}
// Store the node and init any data that needs it
fChild = childNode;
//
// For debugging purposes, make sure we got rid of all non '*'
// repetitions. Otherwise, '*' style nodes are always nullable.
//
if (type() == XMLContentSpec.CONTENTSPECNODE_ONE_OR_MORE)
return fChild.isNullable();
else
return true;