/*
* @(#)$Id: ElementRefState.java,v 1.5 2001/05/01 18:13:06 Bear Exp $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.msv.reader.relax;
import com.sun.msv.grammar.Expression;
import com.sun.msv.grammar.relax.RELAXModule;
/**
* parses <ref label="..." /> element.
*
* @author <a href="mailto:kohsuke.kawaguchi@eng.sun.com">Kohsuke KAWAGUCHI</a>
*/
public class ElementRefState extends LabelRefState
{
protected final Expression resolve( String namespace, String label )
{ return ((RELAXReader)reader).resolveElementRef(namespace,label); }
}