public abstract class MoMLFilterSimple extends java.lang.Object implements MoMLFilter
| Constructor and Description |
|---|
MoMLFilterSimple() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
filterAttributeValue(NamedObj container,
java.lang.String element,
java.lang.String attributeName,
java.lang.String attributeValue,
java.lang.String xmlFile,
MoMLParser parser)
Return the old attribute value for properties that are not registered
to be removed.
|
void |
filterEndElement(NamedObj container,
java.lang.String elementName,
java.lang.StringBuffer currentCharData,
java.lang.String xmlFile,
MoMLParser parser)
Reset private variables.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilterAttributeValue, filterEndElement, toStringpublic MoMLFilterSimple()
public java.lang.String filterAttributeValue(NamedObj container, java.lang.String element, java.lang.String attributeName, java.lang.String attributeValue, java.lang.String xmlFile, MoMLParser parser)
filterAttributeValue in interface MoMLFiltercontainer - The container for this attribute.element - The XML element name.attributeName - The name of the attribute.attributeValue - The value of the attribute.xmlFile - The file currently being parsed.parser - The parser in which MoML is optionally evaluated. Ignored
in this method.public void filterEndElement(NamedObj container, java.lang.String elementName, java.lang.StringBuffer currentCharData, java.lang.String xmlFile, MoMLParser parser) throws java.lang.Exception
filterEndElement in interface MoMLFiltercontainer - The object created by this element.elementName - The element name.currentCharData - The character data, which appears
only in the doc and configure elementsxmlFile - The file currently being parsed.parser - The parser in which MoML is optionally evaluated.java.lang.Exception - if there is a problem substituting
in the new value.