org.apache.commons.betwixt.digester
Class TextRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.commons.betwixt.digester.RuleSupport
          extended by org.apache.commons.betwixt.digester.MappedPropertyRule
              extended by org.apache.commons.betwixt.digester.TextRule

public class TextRule
extends MappedPropertyRule

Rule for parsing <text> elements. These allow mixed content text to be specified. A mixed content element example:

     <foo>text<bar/></foo>
 

Version:
$Id: TextRule.java 438373 2006-08-30 05:17:21Z bayard $
Author:
Robert Burrell Donkin

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
TextRule()
          Base constructor
 
Method Summary
 void begin(java.lang.String name, java.lang.String namespace, org.xml.sax.Attributes attributes)
          Process the beginning of this element.
 
Methods inherited from class org.apache.commons.betwixt.digester.MappedPropertyRule
getPropertyDescriptor, getPropertyType
 
Methods inherited from class org.apache.commons.betwixt.digester.RuleSupport
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector, loadClass
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextRule

public TextRule()
Base constructor

Method Detail

begin

public void begin(java.lang.String name,
                  java.lang.String namespace,
                  org.xml.sax.Attributes attributes)
           throws org.xml.sax.SAXException
Process the beginning of this element.

Overrides:
begin in class org.apache.commons.digester.Rule
Parameters:
attributes - The attribute list of this element
Throws:
org.xml.sax.SAXException - 1. If this tag's parent is not an element tag. 2. If this tag has a value attribute together with either a property or type attribute.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.