com.sun.msv.grammar.IDContextProvider Maven / Gradle / Ivy
/*
* @(#)$Id: IDContextProvider.java,v 1.10 2003/06/09 20:31:49 kk122374 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.grammar;
import org.relaxng.datatype.Datatype;
import org.relaxng.datatype.ValidationContext;
/**
* ValidationContextProvider that supports limited ID/IDREF implementation.
*
* @deprecated
* use {@link IDContextProvider2}.
*
* @author Kohsuke KAWAGUCHI
*/
public interface IDContextProvider extends ValidationContext {
/**
* this method is called when a type with ID semantics is matched.
*
* It is the callee's responsibility that stores
* ID and checks doubly defined ID, if it is necessary.
*/
void onID(Datatype datatype, String literal);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy