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>
Constructor and Description |
---|
TextRule()
Base constructor
|
Modifier and Type | Method and Description |
---|---|
void |
begin(String name,
String namespace,
org.xml.sax.Attributes attributes)
Process the beginning of this element.
|
getPropertyDescriptor, getPropertyType
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector, loadClass
public void begin(String name, String namespace, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
begin
in class org.apache.commons.digester.Rule
attributes
- The attribute list of this elementorg.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-2013 Apache Software Foundation. All Rights Reserved.