public class BasicControl extends Object implements Control
Modifier and Type | Field and Description |
---|---|
protected boolean |
criticality
控制的关键性。
|
protected String |
id
控件的对象标识符字符串。
|
protected byte[] |
value
控制器的ASN.1 BER编码值。
|
CRITICAL, NONCRITICAL
Constructor and Description |
---|
BasicControl(String id)
构建非关键控件。
|
BasicControl(String id, boolean criticality, byte[] value)
使用提供的参数构造一个控件。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncodedValue()
检索控制的ASN.1 BER编码值。
|
String |
getID()
检索控件的对象标识符字符串。
|
boolean |
isCritical()
确定控制的关键性。
|
protected String id
protected boolean criticality
protected byte[] value
public BasicControl(String id)
id
- 控件的对象标识符字符串。
public BasicControl(String id, boolean criticality, byte[] value)
id
- 控件的对象标识符字符串。
criticality
- 控制的关键性。
value
- 控制的ASN.1 BER编码值。
它不被克隆 - 任何值的更改将影响控件的内容。
它可能为null。
public boolean isCritical()
isCritical
在界面
Control
public byte[] getEncodedValue()
getEncodedValue
在界面
Control
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.