01: package org.kohsuke.rngom.parse;
02:
03: import java.util.Enumeration;
04: import org.relaxng.datatype.ValidationContext;
05:
06: /**
07: * Provides contextual information.
08: *
09: * This is typically useful for parsing QNames.
10: */
11: public interface Context extends ValidationContext {
12: /**
13: * Enumerates the prefixes bound to namespaces.
14: */
15: Enumeration prefixes();
16:
17: /**
18: * Returns the immutable snapshot of this {@link Context}.
19: */
20: Context copy();
21: }
|