Package org.intellij.plugins.xpathView.support.jaxen

Examples of org.intellij.plugins.xpathView.support.jaxen.PsiXPath


   */
  @NotNull
  public String resolveTargetText(@NotNull XmlTag xmlTag, @NotNull IXMappingExp mappingExp)
    throws XMappingException
  {
    PsiXPath xPath;
    try
    {
      xPath = new PsiXPath((XmlFile) xmlTag.getContainingFile(), mappingExp.getRawExp());
    }
    catch (JaxenException e)
    {
      throw new XMappingException("Error while parsing resolution expression : <" +
        mappingExp + ">", e);
    }

    try
    {
      return xPath.stringValueOf(xmlTag);
    }
    catch (JaxenException e)
    {
      throw new XMappingException("Error while evaluating value. Mapping expression : <"
        + mappingExp + ">. Xml content : <" + xmlTag.getText() + ">", e);
View Full Code Here

TOP

Related Classes of org.intellij.plugins.xpathView.support.jaxen.PsiXPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.