Class ParseXml

java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.UnaryFunction<String,ca.uqac.lif.xml.XmlElement>
ca.uqac.lif.cep.xml.ParseXml
All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction

public class ParseXml extends ca.uqac.lif.cep.functions.UnaryFunction<String,ca.uqac.lif.xml.XmlElement>
Function that converts a string into an XML element
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static ParseXml
    Instance of the function

    Fields inherited from class ca.uqac.lif.cep.functions.Function

    s_maxInputArity
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uqac.lif.xml.XmlElement
     

    Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction

    duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset

    Methods inherited from class ca.uqac.lif.cep.functions.Function

    duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • instance

      public static ParseXml instance
      Instance of the function
  • Constructor Details

    • ParseXml

      protected ParseXml()
  • Method Details

    • getValue

      public ca.uqac.lif.xml.XmlElement getValue(String x)
      Specified by:
      getValue in class ca.uqac.lif.cep.functions.UnaryFunction<String,ca.uqac.lif.xml.XmlElement>