/** * Get a String representation of an AttributeValueAssertion * * @return An AttributeValueAssertion String */ @Override public String toString() { return toString( "" ); } }
/** * Return a string compliant with RFC 2254 representing an item filter * * @return The item filter string */ @Override public String toString() { return assertion != null ? assertion.toStringRFC2254( filterType ) : ""; } }
/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }
/** * {@inheritDoc} */ @Override public CodecControl<? extends Control> newControl( String oid ) { ControlFactory<?> factory = controlFactories.get( oid ); if ( factory == null ) { return new BasicControlDecorator( this, new OpaqueControl( oid ) ); } return factory.newCodecControl(); }
/** * Get a String representation of an AttributeValueAssertion * * @param tabs The spacing to be put before the string * @return An AttributeValueAssertion String */ public String toString( String tabs ) { StringBuilder sb = new StringBuilder(); sb.append( tabs ).append( "AttributeValueAssertion\n" ); sb.append( tabs ).append( " Assertion description : '" ); sb.append( attributeDesc != null ? attributeDesc : "null" ); sb.append( "'\n" ); sb.append( tabs ).append( " Assertion value : '" ).append( dumpObject( assertion ) ).append( "'\n" ); return sb.toString(); }
/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }
/** * {@inheritDoc} */ @Override public CodecControl<? extends Control> newControl( String oid ) { ControlFactory<?> factory = controlFactories.get( oid ); if ( factory == null ) { return new BasicControlDecorator( this, new OpaqueControl( oid ) ); } return factory.newCodecControl(); }
/** * Get a String representation of an AttributeValueAssertion * * @return An AttributeValueAssertion String */ @Override public String toString() { return toString( "" ); } }
/** * Return a string compliant with RFC 2254 representing an item filter * * @return The item filter string */ @Override public String toString() { return assertion != null ? assertion.toStringRFC2254( filterType ) : ""; } }
/** * Get a String representation of an AttributeValueAssertion * * @param tabs The spacing to be put before the string * @return An AttributeValueAssertion String */ public String toString( String tabs ) { StringBuilder sb = new StringBuilder(); sb.append( tabs ).append( "AttributeValueAssertion\n" ); sb.append( tabs ).append( " Assertion description : '" ); sb.append( attributeDesc != null ? attributeDesc : "null" ); sb.append( "'\n" ); sb.append( tabs ).append( " Assertion value : '" ).append( dumpObject( assertion ) ).append( "'\n" ); return sb.toString(); }
/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }
/** * Get a String representation of an AttributeValueAssertion * * @return An AttributeValueAssertion String */ @Override public String toString() { return toString( "" ); } }
/** * Return a string compliant with RFC 2254 representing an item filter * * @return The item filter string */ @Override public String toString() { return assertion != null ? assertion.toStringRFC2254( filterType ) : ""; } }
/** * Get a String representation of an AttributeValueAssertion * * @param tabs The spacing to be put before the string * @return An AttributeValueAssertion String */ public String toString( String tabs ) { StringBuilder sb = new StringBuilder(); sb.append( tabs ).append( "AttributeValueAssertion\n" ); sb.append( tabs ).append( " Assertion description : '" ); sb.append( attributeDesc != null ? attributeDesc : "null" ); sb.append( "'\n" ); sb.append( tabs ).append( " Assertion value : '" ).append( dumpObject( assertion ) ).append( "'\n" ); return sb.toString(); }