| org.w3c.css.sac.ConditionFactory
All known Subclasses: org.apache.batik.css.parser.DefaultConditionFactory, org.apache.batik.css.engine.sac.CSSConditionFactory,
ConditionFactory | public interface ConditionFactory (Code) | | version: $Revision$ author: Philippe Le Hegaret |
Method Summary | |
CombinatorCondition | createAndCondition(Condition first, Condition second) | AttributeCondition | createAttributeCondition(String localName, String namespaceURI, boolean specified, String value) Creates an attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. | AttributeCondition | createBeginHyphenAttributeCondition(String localName, String namespaceURI, boolean specified, String value) Creates a "begin hyphen" attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. | AttributeCondition | createClassCondition(String namespaceURI, String value) Creates a class condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the name of the class. | ContentCondition | createContentCondition(String data) | AttributeCondition | createIdCondition(String value) Creates an id condition
Parameters: value - the value of the id. | LangCondition | createLangCondition(String lang) Creates a lang condition
Parameters: value - the value of the language. | NegativeCondition | createNegativeCondition(Condition condition) | AttributeCondition | createOneOfAttributeCondition(String localName, String namespaceURI, boolean specified, String value) Creates a "one of" attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. | Condition | createOnlyChildCondition() | Condition | createOnlyTypeCondition() | CombinatorCondition | createOrCondition(Condition first, Condition second) | PositionalCondition | createPositionalCondition(int position, boolean typeNode, boolean type) Creates a positional condition
Parameters: position - the position of the node in the list. Parameters: typeNode - true if the list should containonly nodes of the same type (element, text node, ...). Parameters: type - true true if the list should containonly nodes of the same node (for element, same localNameand same namespaceURI). | AttributeCondition | createPseudoClassCondition(String namespaceURI, String value) |
createAttributeCondition | AttributeCondition createAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException(Code) | | Creates an attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. An attribute condition exception: CSSException - if this exception is not supported. |
createBeginHyphenAttributeCondition | AttributeCondition createBeginHyphenAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException(Code) | | Creates a "begin hyphen" attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. A "begin hyphen" attribute condition exception: CSSException - if this exception is not supported. |
createClassCondition | AttributeCondition createClassCondition(String namespaceURI, String value) throws CSSException(Code) | | Creates a class condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the name of the class. A class condition exception: CSSException - if this exception is not supported. |
createOneOfAttributeCondition | AttributeCondition createOneOfAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException(Code) | | Creates a "one of" attribute condition
Parameters: localName - the localName of the attribute Parameters: namespaceURI - the namespace URI of the attribute Parameters: specified - true if the attribute must be specifiedin the document. Parameters: value - the value of this attribute. A "one of" attribute condition exception: CSSException - if this exception is not supported. |
createOnlyChildCondition | Condition createOnlyChildCondition() throws CSSException(Code) | | Creates a "only one" child condition
A "only one" child condition exception: CSSException - if this exception is not supported. |
createOnlyTypeCondition | Condition createOnlyTypeCondition() throws CSSException(Code) | | Creates a "only one" type condition
A "only one" type condition exception: CSSException - if this exception is not supported. |
createPositionalCondition | PositionalCondition createPositionalCondition(int position, boolean typeNode, boolean type) throws CSSException(Code) | | Creates a positional condition
Parameters: position - the position of the node in the list. Parameters: typeNode - true if the list should containonly nodes of the same type (element, text node, ...). Parameters: type - true true if the list should containonly nodes of the same node (for element, same localNameand same namespaceURI). A positional condition exception: CSSException - if this exception is not supported. |
createPseudoClassCondition | AttributeCondition createPseudoClassCondition(String namespaceURI, String value) throws CSSException(Code) | | Creates a pseudo class condition
Parameters: namespaceURI - the namespace URI of the attribute Parameters: value - the name of the pseudo class A pseudo class condition exception: CSSException - if this exception is not supported. |
|
|