public final class BitStringSyntaxChecker extends SyntaxChecker
BitString = SQUOTE *binary-digit SQUOTE "B" binary-digit = "0" / "1" SQUOTE = %x27 ; hyphen ("'")
Modifier and Type | Class and Description |
---|---|
static class |
BitStringSyntaxChecker.Builder
A static Builder for this class
|
SyntaxChecker.SCBuilder<SC>
Modifier and Type | Field and Description |
---|---|
static BitStringSyntaxChecker |
INSTANCE
A static instance of BitStringSyntaxChecker
|
serialVersionUID
Modifier and Type | Method and Description |
---|---|
static BitStringSyntaxChecker.Builder |
builder() |
static boolean |
isValid(String strValue)
A shared and static method used to check that the string is a BitString.
|
boolean |
isValidSyntax(Object value)
Determines if the attribute's value conforms to the attribute syntax.
|
equals, setSchemaManager, toString
copy, getBytecode, getFqcn, hashCode, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
public static final BitStringSyntaxChecker INSTANCE
public static BitStringSyntaxChecker.Builder builder()
public static boolean isValid(String strValue)
strValue
- The string to checktrue
if the string is a BitStringpublic boolean isValidSyntax(Object value)
isValidSyntax
in class SyntaxChecker
value
- the value of some attribute with the syntaxCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.