|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
CombinatorCondition |
createAndCondition(Condition first,
Condition second)
Creates an and condition |
AttributeCondition |
createAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
Creates an attribute condition |
AttributeCondition |
createBeginHyphenAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
Creates a "begin hyphen" attribute condition |
AttributeCondition |
createClassCondition(String namespaceURI,
String value)
Creates a class condition |
ContentCondition |
createContentCondition(String data)
Creates a content condition |
AttributeCondition |
createIdCondition(String value)
Creates an id condition |
LangCondition |
createLangCondition(String lang)
Creates a lang condition |
NegativeCondition |
createNegativeCondition(Condition condition)
Creates a negative condition |
AttributeCondition |
createOneOfAttributeCondition(String localName,
String namespaceURI,
boolean specified,
String value)
Creates a "one of" attribute condition |
Condition |
createOnlyChildCondition()
Creates a "only one" child condition |
Condition |
createOnlyTypeCondition()
Creates a "only one" type condition |
CombinatorCondition |
createOrCondition(Condition first,
Condition second)
Creates an or condition |
PositionalCondition |
createPositionalCondition(int position,
boolean typeNode,
boolean type)
Creates a positional condition |
AttributeCondition |
createPseudoClassCondition(String namespaceURI,
String value)
Creates a pseudo class condition |
Method Detail |
public CombinatorCondition createAndCondition(Condition first, Condition second) throws CSSException
first
- the first conditionsecond
- the second condition
CSSException
- if this exception is not supported.public CombinatorCondition createOrCondition(Condition first, Condition second) throws CSSException
first
- the first conditionsecond
- the second condition
CSSException
- if this exception is not supported.public NegativeCondition createNegativeCondition(Condition condition) throws CSSException
condition
- the condition
CSSException
- if this exception is not supported.public PositionalCondition createPositionalCondition(int position, boolean typeNode, boolean type) throws CSSException
position
- the position of the node in the list.typeNode
- true
if the list should contain
only nodes of the same type (element, text node, ...).type
- true
true if the list should contain
only nodes of the same node (for element, same localName
and same namespaceURI).
CSSException
- if this exception is not supported.public AttributeCondition createAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
CSSException
- if this exception is not supported.public AttributeCondition createIdCondition(String value) throws CSSException
value
- the value of the id.
CSSException
- if this exception is not supported.public LangCondition createLangCondition(String lang) throws CSSException
lang
- the value of the language.
CSSException
- if this exception is not supported.public AttributeCondition createOneOfAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
CSSException
- if this exception is not supported.public AttributeCondition createBeginHyphenAttributeCondition(String localName, String namespaceURI, boolean specified, String value) throws CSSException
localName
- the localName of the attributenamespaceURI
- the namespace URI of the attributespecified
- true
if the attribute must be specified
in the document.value
- the value of this attribute.
CSSException
- if this exception is not supported.public AttributeCondition createClassCondition(String namespaceURI, String value) throws CSSException
namespaceURI
- the namespace URI of the attributevalue
- the name of the class.
CSSException
- if this exception is not supported.public AttributeCondition createPseudoClassCondition(String namespaceURI, String value) throws CSSException
namespaceURI
- the namespace URI of the attributevalue
- the name of the pseudo class
CSSException
- if this exception is not supported.public Condition createOnlyChildCondition() throws CSSException
CSSException
- if this exception is not supported.public Condition createOnlyTypeCondition() throws CSSException
CSSException
- if this exception is not supported.public ContentCondition createContentCondition(String data) throws CSSException
data
- the data in the content
CSSException
- if this exception is not supported.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |