001 package com.oxygenxml.validate.nvdl; 002 003 import com.thaiopensource.validate.Schema; 004 import org.xml.sax.SAXException; 005 import org.xml.sax.ContentHandler; 006 007 interface SectionState { 008 /** 009 * 010 * @param modeUsage 011 * @param handler may be null 012 */ 013 void addChildMode(ModeUsage modeUsage, ContentHandler handler); 014 void addValidator(Schema schema, ModeUsage modeUsage); 015 /** 016 * 017 * @param handler must not be null 018 */ 019 void addActiveHandler(ContentHandler handler, ModeUsage attributeModeUsage); 020 void addAttributeValidationModeUsage(ModeUsage modeUsage); 021 void reject() throws SAXException; 022 void attachPlaceholder(ModeUsage modeUsage, ContentHandler handler); 023 }