org.milyn.javabean.dynamic.visitor
Class UnknownElementDataReaper
java.lang.Object
org.milyn.javabean.dynamic.visitor.UnknownElementDataReaper
public class UnknownElementDataReaper
- extends Object
Unknown element data reaper.
Models can sometimes be created from XML which contains valid elements that are not being mapped into the model.
We don't want to loose this data in the model, so we capture it as "pre
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownElementDataReaper
public UnknownElementDataReaper()
getPreText
public static String getPreText(Element element,
List<BeanMetadata> beanMetadataSet,
org.milyn.javabean.lifecycle.BeanContextLifecycleEvent event)
normalizeLines
public static String normalizeLines(String xml)
throws IOException
- Throws:
IOException
Copyright © 2018. All rights reserved.