Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractConfigurator<F> - Class in eu.europa.esig.dss.xml.common
-
Abstract class containing util classes helping to configure a Factory or a Validator
- AbstractConfigurator() - Constructor for class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Default constructor initializing empty maps of security features and attributes
- AbstractFactoryBuilder<F> - Class in eu.europa.esig.dss.xml.common
-
Abstract class to build a secure builder instance
- AbstractFactoryBuilder() - Constructor for class eu.europa.esig.dss.xml.common.AbstractFactoryBuilder
-
Default constructor
- AbstractPath - Class in eu.europa.esig.dss.xml.common.definition
-
Contains a list of common XML xpaths
- AbstractPath() - Constructor for class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Default constructor
- all() - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines if to search all element occurrences
- all(boolean) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines if to search all element occurrences
- all(DSSElement) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries of the
element - all(DSSElement...) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries of the given
elements array - allFromCurrentPosition(DSSElement) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries of the
elementfrom the current position - allNotParent(DSSElement, DSSElement) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries of the
elementwhich are not parent ofnotParentOf - attribute(DSSAttribute) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines the attribute to search
B
- build() - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Builds the XPath expression
- build() - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
-
Builds the configured
DocumentBuilderFactory - build() - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
-
Builds the configured
TransformerFactory - build() - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
-
Builds the configured
TransformerFactory
C
- configure(Validator) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Configures the
javax.xml.validation.Validatorby setting the pre-defined features and attributes - configure(Validator) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
The method configures the validator
D
- disableFeature(String) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Disables a custom feature
- disableFeature(String) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- disableFeature(String) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- disableFeature(String) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- disableFeature(String) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
- DocumentBuilderFactoryBuilder - Class in eu.europa.esig.dss.xml.common
-
This class is used to build a
DocumentBuilderFactory - DocumentBuilderFactoryBuilder() - Constructor for class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
-
Default constructor building a secure pre-configured instance of
DocumentBuilderFactoryBuilder - DSSAttribute - Interface in eu.europa.esig.dss.xml.common.definition
-
The XML attribute interface
- DSSElement - Interface in eu.europa.esig.dss.xml.common.definition
-
The XML element
- DSSErrorHandler - Class in eu.europa.esig.dss.xml.common
-
The default
ErrorHandlerused to collect the occurred during the validation errors - DSSErrorHandler() - Constructor for class eu.europa.esig.dss.xml.common.DSSErrorHandler
-
Default constructor initializing empty lists of messages
- DSSErrorHandlerAlert - Class in eu.europa.esig.dss.xml.common.alert
-
The default
DSSErrorHandleralert. - DSSErrorHandlerAlert() - Constructor for class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
-
The default constructor
- DSSNamespace - Class in eu.europa.esig.dss.xml.common.definition
-
Defines the namespaces
- DSSNamespace(String, String) - Constructor for class eu.europa.esig.dss.xml.common.definition.DSSNamespace
-
Default constructor
E
- element(DSSElement) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines the element to search
- elements(DSSElement[]) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines the element path to search
- enableFeature(String) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Enables a custom feature
- enableFeature(String) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- enableFeature(String) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- enableFeature(String) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- enableFeature(String) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
- error(SAXParseException) - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
- eu.europa.esig.dss.xml.common - package eu.europa.esig.dss.xml.common
- eu.europa.esig.dss.xml.common.alert - package eu.europa.esig.dss.xml.common.alert
- eu.europa.esig.dss.xml.common.definition - package eu.europa.esig.dss.xml.common.definition
- eu.europa.esig.dss.xml.common.exception - package eu.europa.esig.dss.xml.common.exception
F
- fatalError(SAXParseException) - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
- fromCurrentPosition() - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Starts XPath from the current position
- fromCurrentPosition(boolean) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines if to start XPath from the current position
- fromCurrentPosition(DSSElement) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries of the
elementfrom the current position - fromCurrentPosition(DSSElement...) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries starting from the current position
- fromCurrentPosition(DSSElement, DSSAttribute) - Static method in class eu.europa.esig.dss.xml.common.definition.AbstractPath
-
Builds the xpath expression to return entries starting from the current position with the given
attribute
G
- getAlertDetector() - Method in class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
- getAlertHandler() - Method in class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
- getAllMessages() - Method in exception class eu.europa.esig.dss.xml.common.exception.XSDValidationException
-
Returns the XSD validation error messages
- getAttributeName() - Method in interface eu.europa.esig.dss.xml.common.definition.DSSAttribute
-
Returns the attribute name
- getErrors() - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
-
Returns a list of errors occurred during the validation process.
- getFatalErrors() - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
-
Returns a list of fatal errors occurred during the validation process.
- getInstance() - Static method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Instantiate the
XmlDefinerUtils - getMessage() - Method in exception class eu.europa.esig.dss.xml.common.exception.XSDValidationException
- getNamespace() - Method in interface eu.europa.esig.dss.xml.common.definition.DSSElement
-
Returns the namespace
- getPrefix() - Method in class eu.europa.esig.dss.xml.common.definition.DSSNamespace
-
Gets the namespace prefix
- getSchema(List<Source>) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Returns a Schema for a list of defined xsdSources
- getSecureDocumentBuilderFactory() - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Returns a DocumentBuilderFactory with enabled security features
- getSecureDocumentBuilderFactoryBuilder() - Static method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
-
Instantiates a pre-configured with security features
DocumentBuilderFactoryBuilder - getSecureSchemaBuilder() - Static method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
-
Instantiates a pre-configured with security features
SchemaFactoryBuilder - getSecureSchemaFactory() - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Returns a SchemaFactory with enabled security features (disabled external DTD/XSD + secure processing
- getSecureTransformerBuilder() - Static method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
-
Instantiates a pre-configured with security features
TransformerFactoryBuilder - getSecureTransformerFactory() - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Returns a TransformerFactory with enabled security features (disabled external DTD/XSD + secure processing
- getSecureValidatorConfigurator() - Static method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Instantiates a pre-configured with security features
ValidatorConfigurator - getTagName() - Method in interface eu.europa.esig.dss.xml.common.definition.DSSElement
-
Returns element tag name
- getUri() - Method in class eu.europa.esig.dss.xml.common.definition.DSSNamespace
-
Gets the namespace URI
- getURI() - Method in interface eu.europa.esig.dss.xml.common.definition.DSSElement
-
Returns namespace URI
- getValidationMessage(SAXParseException) - Method in class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
-
Builds a validation message from
SAXParseException - getWarnings() - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
-
Returns a list of warnings occurred during the validation process.
I
- instantiateFactory() - Method in class eu.europa.esig.dss.xml.common.AbstractFactoryBuilder
-
This method instantiates the corresponding factory.
- instantiateFactory() - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- instantiateFactory() - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- instantiateFactory() - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- isSameTagName(String) - Method in interface eu.europa.esig.dss.xml.common.definition.DSSElement
-
Checks if the tag name matches to the current element
- isSameUri(String) - Method in class eu.europa.esig.dss.xml.common.definition.DSSNamespace
-
Checks if the given URI is the same as for the current DSSNamespace object
- isValid() - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
-
Checks if the validation succeeded (no errors or warning received)
J
- jpms_dss_xml_common - module jpms_dss_xml_common
N
- notParentOf(DSSElement) - Method in class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Defines that the looking element shall not be a parent of
notParentOfelement
P
- postProcess(Validator) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Handles the validation errors occurred during an XML file validation
- postProcess(Validator) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Post-processes the validator after the validation is executed
R
- removeAttribute(String) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Removes the attribute from a list of attributes to set
- removeAttribute(String) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- removeAttribute(String) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- removeAttribute(String) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- removeAttribute(String) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
S
- SchemaFactoryBuilder - Class in eu.europa.esig.dss.xml.common
-
Builds a
SchemaFactory - SchemaFactoryBuilder() - Constructor for class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
-
Default constructor
- SecurityConfigurationException - Exception Class in eu.europa.esig.dss.xml.common.exception
-
This exception is used to catch and re-throw an exception caused by a security feature/attribute definition
- SecurityConfigurationException(Exception) - Constructor for exception class eu.europa.esig.dss.xml.common.exception.SecurityConfigurationException
-
Default constructor
- setAttribute(String, Object) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Sets a custom attribute.
- setAttribute(String, Object) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- setAttribute(String, Object) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- setAttribute(String, Object) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- setAttribute(String, Object) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
- setDocumentBuilderFactoryBuilder(DocumentBuilderFactoryBuilder) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Sets a pre-configured builder to instantiate a
DocumentBuilderFactory - setEnablePosition(boolean) - Method in class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
-
Sets whether position (line and column number) of the error shall be extracted into returned validation messages NOTE : an instance of
javax.xml.transform.stream.StreamSourceshall be provided to the validation, in order to ensure the position is being extracted (e.g. - setEnableWarnings(boolean) - Method in class eu.europa.esig.dss.xml.common.alert.DSSErrorHandlerAlert
-
Sets whether validation warnings shall be returned within the error list Default : FALSE (warnings a logged, but not returned)
- setErrorHandler(Validator) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Sets
DSSErrorHandlerin order to collect exceptions occurred during the validation process - setErrorHandlerAlert(Alert<DSSErrorHandler>) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Sets
Alert<DSSErrorHandler>used to process the collected exception during the XML file validation - setSchemaFactoryBuilder(SchemaFactoryBuilder) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Sets a pre-configured builder to instantiate a
SchemaFactory - setSchemaLanguage(String) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
-
Sets a schemaLanguage to instantiate
SchemaFactorywith - setSecurityAttribute(F, String, Object) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Sets the attribute to the factory
- setSecurityAttribute(DocumentBuilderFactory, String, Object) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- setSecurityAttribute(TransformerFactory, String, Object) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- setSecurityAttribute(SchemaFactory, String, Object) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- setSecurityAttribute(Validator, String, Object) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
- setSecurityAttributes(F) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Sets all attributes to the factory
- setSecurityExceptionAlert(StatusAlert) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
This method allows to configure a custom alert on security exception in the builder
- setSecurityFeature(F, String, Boolean) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Sets the feature to the factory
- setSecurityFeature(DocumentBuilderFactory, String, Boolean) - Method in class eu.europa.esig.dss.xml.common.DocumentBuilderFactoryBuilder
- setSecurityFeature(TransformerFactory, String, Boolean) - Method in class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
- setSecurityFeature(SchemaFactory, String, Boolean) - Method in class eu.europa.esig.dss.xml.common.SchemaFactoryBuilder
- setSecurityFeature(Validator, String, Boolean) - Method in class eu.europa.esig.dss.xml.common.ValidatorConfigurator
- setSecurityFeatures(F) - Method in class eu.europa.esig.dss.xml.common.AbstractConfigurator
-
Sets all features to the factory
- setTransformerFactoryBuilder(TransformerFactoryBuilder) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Sets a pre-configured builder to instantiate a
TransformerFactory - setValidatorConfigurator(ValidatorConfigurator) - Method in class eu.europa.esig.dss.xml.common.XmlDefinerUtils
-
Sets a pre-configured builder to instantiate a
Validator
T
- toString() - Method in class eu.europa.esig.dss.xml.common.definition.DSSNamespace
- TransformerFactoryBuilder - Class in eu.europa.esig.dss.xml.common
-
Builds a
TransformerFactory - TransformerFactoryBuilder() - Constructor for class eu.europa.esig.dss.xml.common.TransformerFactoryBuilder
-
Default constructor
V
- ValidatorConfigurator - Class in eu.europa.esig.dss.xml.common
-
Configures a provided
Validator - ValidatorConfigurator() - Constructor for class eu.europa.esig.dss.xml.common.ValidatorConfigurator
-
Default constructor
W
- warning(SAXParseException) - Method in class eu.europa.esig.dss.xml.common.DSSErrorHandler
X
- XmlDefinerUtils - Class in eu.europa.esig.dss.xml.common
-
Builds the objects for dealing with XML
- XPathExpressionBuilder - Class in eu.europa.esig.dss.xml.common.definition
-
Builds an XPath expression
- XPathExpressionBuilder() - Constructor for class eu.europa.esig.dss.xml.common.definition.XPathExpressionBuilder
-
Default constructor instantiating object with empty configuration
- XSDValidationException - Exception Class in eu.europa.esig.dss.xml.common.exception
-
An exception to be thrown in case of XSD validation error(s)
- XSDValidationException(List<String>) - Constructor for exception class eu.europa.esig.dss.xml.common.exception.XSDValidationException
-
Default constructor
All Classes and Interfaces|All Packages|Serialized Form