org.mule.module.xml.filters
Class IsXmlFilter

java.lang.Object
  extended by org.mule.module.xml.filters.IsXmlFilter
All Implemented Interfaces:
Filter

public class IsXmlFilter
extends Object
implements Filter

IsXmlFilter accepts a String or byte[] if its contents are valid (well-formed) XML.


Constructor Summary
IsXmlFilter()
           
 
Method Summary
 boolean accept(MuleMessage obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsXmlFilter

public IsXmlFilter()
Method Detail

accept

public boolean accept(MuleMessage obj)
Specified by:
accept in interface Filter


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.