|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.LeafNode
org.apache.directory.shared.ldap.filter.ExtensibleNode
public class ExtensibleNode
Filter expression tree node for extensible assertions.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
---|
annotations, assertionType |
Constructor Summary | |
---|---|
ExtensibleNode(java.lang.String attribute)
Creates a new emptyExtensibleNode object. |
|
ExtensibleNode(java.lang.String attribute,
Value<?> value,
java.lang.String matchingRuleId,
boolean dnAttributes)
Creates a new ExtensibleNode object. |
Method Summary | |
---|---|
ExprNode |
clone()
Makes a full clone in new memory space of the current node and children |
Value<?> |
getEscapedValue()
|
java.lang.String |
getMatchingRuleId()
Gets the matching rule id as an OID string. |
Value<?> |
getValue()
Gets the value. |
boolean |
hasDnAttributes()
Gets the Dn attributes. |
int |
hashCode()
|
void |
setDnAttributes(boolean dnAttributes)
Set the dnAttributes flag |
void |
setMatchingRuleId(java.lang.String matchingRuleId)
Sets the matching rule id as an OID string. |
void |
setValue(Value<?> value)
Sets the value. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode |
---|
accept, equals, getAttribute, isLeaf, setAttribute |
Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
---|
escapeFilterValue, get, getAnnotations, getAssertionType, printRefinementToBuffer, set |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExtensibleNode(java.lang.String attribute)
attribute
- the attribute associated with this nodepublic ExtensibleNode(java.lang.String attribute, Value<?> value, java.lang.String matchingRuleId, boolean dnAttributes)
attribute
- the attribute used for the extensible assertionvalue
- the value to match formatchingRuleId
- the OID of the matching rulednAttributes
- the dn attributesMethod Detail |
---|
public ExprNode clone()
clone
in interface ExprNode
clone
in class LeafNode
public boolean hasDnAttributes()
public void setDnAttributes(boolean dnAttributes)
dnAttributes
- The flag to setpublic java.lang.String getMatchingRuleId()
public void setMatchingRuleId(java.lang.String matchingRuleId)
matchingRuleId
- The maching rule IDpublic final Value<?> getValue()
public Value<?> getEscapedValue()
public final void setValue(Value<?> value)
value
- the valuepublic int hashCode()
hashCode
in class LeafNode
Object.hashCode()
public java.lang.String toString()
toString
in class AbstractExprNode
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |