|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=true) public interface ProtocolElement
This interface defines a set of methods that must be implemented by any class that forms the basis for a protocol element (e.g., an ASN.1 element, an LDAP message, etc.).
Method Summary | |
---|---|
java.lang.String |
getProtocolElementName()
Retrieves the name of the protocol associated with this protocol element. |
java.lang.String |
toString()
Retrieves a string representation of this protocol element. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this protocol element to the provided buffer. |
void |
toString(java.lang.StringBuilder buffer,
int indent)
Appends a string representation of this protocol element to the provided buffer. |
Method Detail |
---|
java.lang.String getProtocolElementName()
java.lang.String toString()
toString
in class java.lang.Object
void toString(java.lang.StringBuilder buffer)
buffer
- The buffer into which the string representation
should be written.void toString(java.lang.StringBuilder buffer, int indent)
buffer
- The buffer into which the string representation
should be written.indent
- The number of spaces that should be used to
indent the resulting string representation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |