/** * Converts a raw xml and an alias into an {@link AliasedXmlObject} by using the shared {@link * XmlContentConverter} implementation. * * @see XmlContentConverter#fromXml(String, java.io.Reader) */ public AliasedXmlObject fromXml(String alias, Reader xml) throws ConversionException { return xmlContentConverter.fromXml(alias, xml); }
/** * Converts the {@link XmlObject} into raw xml by using the shared {@link XmlContentConverter} * implementation. * * @see XmlContentConverter#toXml(org.compass.core.xml.XmlObject) */ public String toXml(XmlObject xmlObject) throws ConversionException { return xmlContentConverter.toXml(xmlObject); }