org.milyn.javabean.dynamic.visitor
Class UnknownElementDataReaper

java.lang.Object
  extended by 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

Constructor Summary
UnknownElementDataReaper()
           
 
Method Summary
static String getPreText(Element element, List<BeanMetadata> beanMetadataSet, org.milyn.javabean.lifecycle.BeanContextLifecycleEvent event)
           
static String normalizeLines(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownElementDataReaper

public UnknownElementDataReaper()
Method Detail

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.