org.azzyzt.jee.runtime.util
Interface Xml2QuerySpec

All Known Implementing Classes:
AttributedTags2QuerySpec

public interface Xml2QuerySpec

Interface implemented by parsers for XML representations of query specifications. Java is a single inheritance language, and our parsers already inherit from org.xml.sax.helpers.DefaultHandler. Thus, to hide the fact that we could use different parsers for different XML formats, we let all parsers implement this interface.

See Also:
QuerySpec, AttributedTags2QuerySpec

Method Summary
 QuerySpec fromXML(java.lang.String xml)
           
 

Method Detail

fromXML

QuerySpec fromXML(java.lang.String xml)
                  throws QuerySyntaxException
Parameters:
xml - an XML representation of a QuerySpec
Returns:
a QuerySpec
Throws:
QuerySyntaxException