Class UnknownExtension
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.extensions.Extension
-
- es.gob.afirma.tsl.parsing.impl.common.extensions.UnknownExtension
-
- All Implemented Interfaces:
IAnyTypeExtension,java.io.Serializable
public class UnknownExtension extends Extension
Class that represents an Unknown TSL extension.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 15/06/2021.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface es.gob.afirma.tsl.parsing.ifaces.IAnyTypeExtension
IMPL_ADDITIONAL_SERVICE_INFORMATION, IMPL_EXPIRED_CERTS_REVOCATION_INFO, IMPL_QUALIFICATIONS, IMPL_TAKENOVERBY, IMPL_UNKNOWN_EXTENSION, TYPE_SCHEME, TYPE_SERVICE_INFORMATION, TYPE_TSP_INFORMATION
-
-
Constructor Summary
Constructors Constructor Description UnknownExtension(boolean isCritical, int extensionType, java.lang.String elementName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExtensionName()Gets the value of the attributeextensionName.-
Methods inherited from class es.gob.afirma.tsl.parsing.impl.common.extensions.Extension
checkExtensionValue, extensionTypeToString, getExtensionType, getImplementationExtension, isCritical
-
-
-
-
Constructor Detail
-
UnknownExtension
public UnknownExtension(boolean isCritical, int extensionType, java.lang.String elementName)- Parameters:
isCritical- Flag to indicate if this extension is critical (true) or not (false).extensionType- Extension type. Refer to its location inside the XML. It could be one of the following:- Scheme Extension:
IAnyTypeExtension.TYPE_SCHEME - Scheme Extension:
IAnyTypeExtension.TYPE_TSP_INFORMATION - Scheme Extension:
IAnyTypeExtension.TYPE_SERVICE_INFORMATION
- Scheme Extension:
elementName- Local name of the extension.
-
-
Method Detail
-
getExtensionName
public final java.lang.String getExtensionName()
Gets the value of the attributeextensionName.- Returns:
- the value of the attribute
extensionName.
-
-