org.bibop.xml.xforge
Class WhileLoop

java.lang.Object
  |
  +--org.bibop.xml.xforge.AbstractElement
        |
        +--org.bibop.xml.xforge.ConditionalElement
              |
              +--org.bibop.xml.xforge.WhileLoop
All Implemented Interfaces:
org.xml.sax.ContentHandler, Element, org.xml.sax.ext.LexicalHandler, PrefixesMonitor, ReactorElement, XMLConsumer, XMLProducer

public class WhileLoop
extends ConditionalElement

Loop ...

Version:
1.0
Author:
Alberto Garoffolo

Field Summary
static java.lang.String XFORGE_ATTR_CONDITION
           
 
Fields inherited from class org.bibop.xml.xforge.ConditionalElement
condition, deep, parser
 
Fields inherited from class org.bibop.xml.xforge.AbstractElement
contentHandler, lexicalHandler, parentPrefixesMonitor, po, saxEvents, xmlCompiler
 
Constructor Summary
WhileLoop(org.xml.sax.Attributes attrs, ProcessingOptions aPO)
          Build the object using the Attributes list
 
Method Summary
protected  java.lang.String getName()
           
 void toSax()
          Creates the SAX events once processing has finished.
 
Methods inherited from class org.bibop.xml.xforge.ConditionalElement
endElement, match, startElement, testcondition
 
Methods inherited from class org.bibop.xml.xforge.AbstractElement
characters, comment, end, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, flushSAXCache, getActivePrefixes, ignorableWhitespace, output, output, processingInstruction, setConsumer, setContentHandler, setDocumentLocator, setLexicalHandler, setParent, setParentPrefixesMonitor, skippedEntity, start, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bibop.xml.xforge.Element
setParent
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.bibop.xml.XMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from interface org.bibop.xml.xforge.PrefixesMonitor
getActivePrefixes, setParentPrefixesMonitor
 

Field Detail

XFORGE_ATTR_CONDITION

public static final java.lang.String XFORGE_ATTR_CONDITION
See Also:
Constant Field Values
Constructor Detail

WhileLoop

public WhileLoop(org.xml.sax.Attributes attrs,
                 ProcessingOptions aPO)
          throws IllegalElementException
Build the object using the Attributes list

Parameters:
attrs - the Attributes list
Throws:
IllegalElementException - Invalid x:forge element declaration
Method Detail

getName

protected java.lang.String getName()
Specified by:
getName in class ConditionalElement

toSax

public void toSax()
           throws org.xml.sax.SAXException
Description copied from interface: XMLProducer
Creates the SAX events once processing has finished.

Specified by:
toSax in interface XMLProducer
Specified by:
toSax in class AbstractElement
Throws:
org.xml.sax.SAXException


Copyright © 2003 Bibop Research International. All Rights Reserved.