W3C home > Mailing lists > Public > www-style@w3.org > May 2012

[SAC] ConditionFactory.createClassCondition

From: Oliver Becker <ob@obqo.de>
Date: Sat, 19 May 2012 23:21:48 +0200
To: www-style@w3.org
Message-Id: <4B9B21A7-6452-4428-9AA9-BE4AF8C9FA54@obqo.de>
Hi there,

I'm currently playing with implementing the SAC API and stumbled upon the method createClassCondition in the ConditionFactory class
http://www.w3.org/Style/CSS/SAC/doc/org/w3c/css/sac/ConditionFactory.html#createClassCondition_java.lang.String__java.lang.String_

I suppose (since it is not explained in more detail) this method serves the purpose to create a condition of the form .class.
However, the namespaceURI parameter doesn't make any sense to me (I would expect a similar method signature as for createIdCondition).
To make this even more confusing, the javadoc of the method lists some parameters that don't appear in the method.
It would be great if someone could explain the semantics of this method and also fix the javadoc.

BTW: this and many other methods throw a CSSException "if this exception is not supported".
I can't make any sense of this sentence. What is "this exception"?

Thanks for clarification,
Oliver
Received on Saturday, 19 May 2012 21:33:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT