org.apache.directory.api.ldap.model.schema.syntaxCheckers
Class TeletexTerminalIdentifierSyntaxChecker
java.lang.Object
org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.SyntaxChecker
org.apache.directory.api.ldap.model.schema.syntaxCheckers.TeletexTerminalIdentifierSyntaxChecker
- All Implemented Interfaces:
- Serializable, SchemaObject
public class TeletexTerminalIdentifierSyntaxChecker
- extends SyntaxChecker
A SyntaxChecker which verifies that a value is a TeletexTerminalIdentifier according to
RFC 4517 :
teletex-id = ttx-term *(DOLLAR ttx-param)
ttx-term = PrintableString ; terminal identifier
ttx-param = ttx-key COLON ttx-value ; parameter
ttx-key = "graphic" | "control" | "misc" | "page" | "private"
ttx-value = *ttx-value-octet
ttx-value-octet = %x00-23 | (%x5C "24") | %x25-5B | (%x5C "5C") | %x5D-FF
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
|
Method Summary |
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax. |
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock |
TeletexTerminalIdentifierSyntaxChecker
public TeletexTerminalIdentifierSyntaxChecker()
- Creates a new instance of TeletexTerminalIdentifier.
isValidSyntax
public boolean isValidSyntax(Object value)
- Determines if the attribute's value conforms to the attribute syntax.
- Specified by:
isValidSyntax in class SyntaxChecker
- Parameters:
value - the value of some attribute with the syntax
- Returns:
- true if the value is in the valid syntax, false otherwise
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.