Package org.webpki.json
Class JSONDecoder
java.lang.Object
org.webpki.json.JSONDecoder
- Direct Known Subclasses:
AuthenticationRequestDecoder,AuthenticationResponseDecoder,CredentialDiscoveryRequestDecoder,CredentialDiscoveryResponseDecoder,InvocationRequestDecoder,InvocationResponseDecoder,KeyCreationRequestDecoder,KeyCreationResponseDecoder,ProvisioningFinalizationRequestDecoder,ProvisioningFinalizationResponseDecoder,ProvisioningInitializationRequestDecoder,ProvisioningInitializationResponseDecoder
Base class for java classes which can be created from specific JSON object types.
It is designed to use JSONDecoderCache to get automatic instantiation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringEmulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context.protected abstract voidINTERNAL USE ONLY.
-
Constructor Details
-
JSONDecoder
public JSONDecoder()
-
-
Method Details
-
readJSONData
INTERNAL USE ONLY.- Parameters:
rd- A JSON reader
-
getContext
Emulation of XML namespace- Returns:
- The context name
-
getQualifier
Optional type indicator for JSON objects belonging to the same@context.- Returns:
- The qualifier name
-
getWriter
-