org.compass.core.converter.mapping.xsem
Class XmlConverterUtils
java.lang.Object
org.compass.core.converter.mapping.xsem.XmlConverterUtils
public abstract class XmlConverterUtils
- extends Object
A set of utilities for xml conversion.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlConverterUtils
public XmlConverterUtils()
select
public static XmlObject[] select(XmlObject xmlObject,
XPathEnabledMapping xpathMapping)
throws ConversionException
- Executes the given xpath expression (using
XPathEnabledMapping and returns
a list of xml objects.
Handles compilation of xpath expression if possible, and storing the compiled xpath
expressions in the XPathEnabledMapping.
- Parameters:
xmlObject - The xml object to execute the xpath expression against.xpathMapping - The xpath mapping definiton
- Returns:
- The list of xml objects matching the xpath expression
- Throws:
ConversionException
Copyright (c) 2004-2008 The Compass Project.