org.apache.crimson.parser
Class ValidatingParser.ChildrenValidator

java.lang.Object
  extended byorg.apache.crimson.parser.ElementValidator
      extended byorg.apache.crimson.parser.ValidatingParser.ChildrenValidator
Enclosing class:
ValidatingParser

class ValidatingParser.ChildrenValidator
extends ElementValidator


Field Summary
(package private) static ElementValidator ANY
           
private  String name
           
private  ContentModelState state
           
 
Constructor Summary
(package private) ValidatingParser.ChildrenValidator(ElementDecl element)
           
 
Method Summary
 void consume(String token)
          Consumes an element of the given type
 void done()
          Called when the element content is done
 void text()
          Consumes parsed or unparsed text data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

private ContentModelState state

name

private String name

ANY

static final ElementValidator ANY
Constructor Detail

ValidatingParser.ChildrenValidator

ValidatingParser.ChildrenValidator(ElementDecl element)
Method Detail

consume

public void consume(String token)
             throws org.xml.sax.SAXException
Description copied from class: ElementValidator
Consumes an element of the given type

Overrides:
consume in class ElementValidator
Throws:
org.xml.sax.SAXException

text

public void text()
          throws org.xml.sax.SAXException
Description copied from class: ElementValidator
Consumes parsed or unparsed text data

Overrides:
text in class ElementValidator
Throws:
org.xml.sax.SAXException

done

public void done()
          throws org.xml.sax.SAXException
Description copied from class: ElementValidator
Called when the element content is done

Overrides:
done in class ElementValidator
Throws:
org.xml.sax.SAXException