public void characters (char ch[], int start, int length) throws SAXException { currentHandler.characters(ch, start, length); }
public void endPrefixMapping (final String prefix) throws SAXException { currentHandler.endPrefixMapping (prefix); } }
public void ignorableWhitespace (char ch[], int start, int length) throws SAXException { currentHandler.ignorableWhitespace(ch, start, length); }
public void endElement (final String uri, final String localName, final String qName) throws SAXException { nsMap.popContext (); currentHandler.endElement (uri, localName, qName); if (--depth == 0) {// cut in and restore the previos IslandVerifier. // call endPrefixMapping for all pre-declared prefixes. final Enumeration <?> e = nsMap.getDeclaredPrefixes (); while (e.hasMoreElements ()) currentHandler.endPrefixMapping ((String) e.nextElement ()); // gets labels which are actually verified. final ElementDecl [] results = currentHandler.endIsland (); // pop context depth = contextStack.depth; currentHandler = contextStack.handler; contextStack = contextStack.previous; // report assigned label to the parent currentHandler.endChildIsland (uri, results); } }
public void startElement (final String uri, final String localName, final String qName, final Attributes attributes) throws SAXException { currentHandler.startElement (uri, localName, qName, attributes); depth++; nsMap.pushContext (); }
public void switchVerifier (final IslandVerifier newVerifier) throws SAXException { // push context contextStack = new Context (currentHandler, depth, contextStack); currentHandler = newVerifier; currentHandler.setDispatcher (this); currentHandler.setDocumentLocator (documentLocator); depth = 0; // inform new IslandHandler about all prefix mappings final Enumeration <?> e = nsMap.getDeclaredPrefixes (); while (e.hasMoreElements ()) { final String prefix = (String) e.nextElement (); currentHandler.startPrefixMapping (prefix, nsMap.getURI (prefix)); } }
public DispatcherImpl (final SchemaProvider pschema) { this.schema = pschema; this.transponder = new Transponder (); this.currentHandler = pschema.createTopLevelVerifier (); this.currentHandler.setDispatcher (this); }
public void setDocumentLocator (final Locator locator) { documentLocator = locator; currentHandler.setDocumentLocator (locator); }
public void processingInstruction (String target, String data) throws SAXException { currentHandler.processingInstruction (target, data); }
public void endElement (final String uri, final String localName, final String qName) throws SAXException { nsMap.popContext (); currentHandler.endElement (uri, localName, qName); if (--depth == 0) {// cut in and restore the previos IslandVerifier. // call endPrefixMapping for all pre-declared prefixes. final Enumeration <?> e = nsMap.getDeclaredPrefixes (); while (e.hasMoreElements ()) currentHandler.endPrefixMapping ((String) e.nextElement ()); // gets labels which are actually verified. final ElementDecl [] results = currentHandler.endIsland (); // pop context depth = contextStack.depth; currentHandler = contextStack.handler; contextStack = contextStack.previous; // report assigned label to the parent currentHandler.endChildIsland (uri, results); } }
public void startElement( String uri, String localName, String qName, Attributes attributes ) throws SAXException { currentHandler.startElement(uri,localName,qName,attributes); depth++; nsMap.pushContext(); }
public void switchVerifier( IslandVerifier newVerifier ) throws SAXException { // push context contextStack = new Context( currentHandler, depth, contextStack ); currentHandler = newVerifier; currentHandler.setDispatcher(this); currentHandler.setDocumentLocator(documentLocator); depth = 0; // inform new IslandHandler about all prefix mappings Enumeration e = nsMap.getDeclaredPrefixes(); while( e.hasMoreElements() ) { String prefix = (String)e.nextElement(); currentHandler.startPrefixMapping( prefix, nsMap.getURI(prefix) ); } }
public DispatcherImpl( SchemaProvider schema ) { this.schema = schema; this.transponder = new Transponder(); this.currentHandler = schema.createTopLevelVerifier(); this.currentHandler.setDispatcher(this); }
public void setDocumentLocator( Locator locator ) { documentLocator = locator; currentHandler.setDocumentLocator(locator); }
public void processingInstruction (String target, String data) throws SAXException { currentHandler.processingInstruction (target, data); }
public void endElement (String uri, String localName, String qName) throws SAXException { nsMap.popContext(); currentHandler.endElement(uri,localName,qName); if( --depth == 0 ) {// cut in and restore the previos IslandVerifier. // call endPrefixMapping for all pre-declared prefixes. Enumeration e = nsMap.getDeclaredPrefixes(); while( e.hasMoreElements() ) currentHandler.endPrefixMapping( (String)e.nextElement() ); // gets labels which are actually verified. ElementDecl[] results = currentHandler.endIsland(); // pop context depth = contextStack.depth; currentHandler = contextStack.handler; contextStack = contextStack.previous; // report assigned label to the parent currentHandler.endChildIsland(uri,results); } }
public void startElement( String uri, String localName, String qName, Attributes attributes ) throws SAXException { currentHandler.startElement(uri,localName,qName,attributes); depth++; nsMap.pushContext(); }
public void switchVerifier (final IslandVerifier newVerifier) throws SAXException { // push context contextStack = new Context (currentHandler, depth, contextStack); currentHandler = newVerifier; currentHandler.setDispatcher (this); currentHandler.setDocumentLocator (documentLocator); depth = 0; // inform new IslandHandler about all prefix mappings final Enumeration <?> e = nsMap.getDeclaredPrefixes (); while (e.hasMoreElements ()) { final String prefix = (String) e.nextElement (); currentHandler.startPrefixMapping (prefix, nsMap.getURI (prefix)); } }
public void characters (char ch[], int start, int length) throws SAXException { currentHandler.characters(ch, start, length); }
public void endPrefixMapping(String prefix) throws SAXException { currentHandler.endPrefixMapping(prefix); } }