Index

A B C D E F G H I J N O R S T W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addElement(Document, Element, DSSNamespace, DSSElement) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method creates and adds a new XML Element
addNamespaceAttribute(Element, DSSNamespace) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Adds a namespace attribute to the element
addTextElement(Document, Element, DSSNamespace, DSSElement, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method creates and adds a new XML Element with text value
adoptChildren(Element, Node) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Adopts all children of the toBeAdopted Node, excluding the Node itself.

B

browseRecursivelyForNamespaceWithUri(Element, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method browses through element looking for a namespace with the target uri and returns DSSNamespace if found
buildDOM() - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Creates the new empty Document.
buildDOM(byte[]) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns the Document created based on byte array.
buildDOM(DSSDocument) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns the Document created based on the DSSDocument.
buildDOM(InputStream) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns the Document created based on the XML InputStream.
buildDOM(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns the Document created based on the XML string.

C

canCanonicalize(String) - Static method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method says if the framework can canonicalize an XML data with the provided method.
canonicalize(byte[]) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given array of bytes using the defined canonicalization method.
canonicalize(byte[], OutputStream) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given array of bytes using the defined canonicalization method and writes the result binaries into outputStream.
canonicalize(InputStream) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given InputStream using the defined canonicalization method.
canonicalize(InputStream, OutputStream) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given InputStream using the defined canonicalization method and writes the result binaries into outputStream.
canonicalize(Node) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given Node using the defined canonicalization method.
canonicalize(Node, OutputStream) - Method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method canonicalizes the given Node using the defined canonicalization method and writes the result binaries into outputStream.
createDeepCopy(Element) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method creates a deep copy of the Document for the given Element, and returns back the corresponding Element from the copied instance of the Document.
createDssDocumentFromDomDocument(Document, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method creates a new InMemoryDocument with the Document content and the given name
createElementNS(Document, DSSNamespace, DSSElement) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Creates an element with the given namespace
createInstance() - Static method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
Creates in instance of XMLCanonicalizer to be used with default XMLDSig canonicalization method "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
createInstance(String) - Static method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
Creates in instance of XMLCanonicalizer with provided canonicalization method.
createXMLGregorianCalendar(Date) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Converts a given Date to a new XMLGregorianCalendar.
createXPathExpression(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method creates a new instance of XPathExpression with the given xpath expression

D

DEFAULT_DSS_C14N_METHOD - Static variable in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This is the default canonicalization method used for production of signatures within DSS framework.
DEFAULT_XMLDSIG_C14N_METHOD - Static variable in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This is the default canonicalization method for XMLDSIG used for signatures and timestamps (see XMLDSIG 4.4.3.2) when one is not defined.
DOMDocument - Class in eu.europa.esig.dss.xml.utils
This class allows handling of an org.w3c.dom.Node as a eu.europa.esig.dss.model.DSSDocument.
DOMDocument(Node) - Constructor for class eu.europa.esig.dss.xml.utils.DOMDocument
Default constructor to create a DOMDocument from an org.w3c.dom.Element.
DOMDocument(Node, String) - Constructor for class eu.europa.esig.dss.xml.utils.DOMDocument
Constructor to create a DOMDocument with name provided.
DomUtils - Class in eu.europa.esig.dss.xml.utils
The utils for dealing with org.w3c.dom objects
DSSXmlErrorListener - Class in eu.europa.esig.dss.xml.utils
The DSS implementation of ErrorListener Logs errors according to its level
DSSXmlErrorListener() - Constructor for class eu.europa.esig.dss.xml.utils.DSSXmlErrorListener
Default constructor

E

equals(Object) - Method in class eu.europa.esig.dss.xml.utils.DOMDocument
 
error(TransformerException) - Method in class eu.europa.esig.dss.xml.utils.DSSXmlErrorListener
 
eu.europa.esig.dss.xml.utils - package eu.europa.esig.dss.xml.utils
 
excludeComments(Node) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns a Document with excluded comments.

F

fatalError(TransformerException) - Method in class eu.europa.esig.dss.xml.utils.DSSXmlErrorListener
 

G

getBytes() - Method in class eu.europa.esig.dss.xml.utils.DOMDocument
Gets cached binary array as the result of the Element serialization
getChildrenNames(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns the list of children's names for a given Node.
getCurrentNamespaces() - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns stored namespace definitions
getDate(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method allows to convert the given text (XML representation of a date) to the Date.
getElement(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns the Element corresponding to the XPath query.
getElementById(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Extract an element from the given document node with the given Id.
getId(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Gets Id value from the given URI reference Ex.
getNamespaceURI(String) - Method in class eu.europa.esig.dss.xml.utils.NamespaceContextMap
 
getNode() - Method in class eu.europa.esig.dss.xml.utils.DOMDocument
Gets the Node used to define the document
getNode(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns the Node corresponding to the XPath query.
getNodeBytes(Node) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns bytes of the given node
getNodeList(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns the NodeList corresponding to the XPath query.
getNodesAmount(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns an amount of found nodes matching the xPathString
getPrefix(String) - Method in class eu.europa.esig.dss.xml.utils.NamespaceContextMap
 
getPrefixes(String) - Method in class eu.europa.esig.dss.xml.utils.NamespaceContextMap
 
getPrefixMap() - Method in class eu.europa.esig.dss.xml.utils.NamespaceContextMap
Returns a prefix map (a copy)
getSecureDocumentBuilderFactory() - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns a new instance of DocumentBuilderFactory with configured security features
getSecureTransformer() - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns a new instance of Transformer with secured features enabled
getSecureTransformerFactory() - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns a new instance of TransformerFactory with secured features enabled
getValue(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns the String value of the corresponding to the XPath query.
getXPathByIdAttribute(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns case-insensitive xPath expression
getXPointerId(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Method getXPointerId See org.apache.xml.security.utils.resolver.implementations.ResolverXPointer

H

hashCode() - Method in class eu.europa.esig.dss.xml.utils.DOMDocument
 

I

init() - Static method in class eu.europa.esig.dss.xml.utils.SantuarioInitializer
Method init
isDOM(byte[]) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns true if the binaries contains a Document
isDOM(DSSDocument) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method returns true if the provided document is a valid XML Document
isElementReference(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns TRUE if the provided uri refers to an element in the signature
isInitialized() - Static method in class eu.europa.esig.dss.xml.utils.SantuarioInitializer
Method isInitialized
isNotEmpty(Node, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns true if the xpath query contains something
isRootXPointer(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method checks if the XPointer refers the document root.
isXPointerQuery(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Indicates if the given URI is an XPointer query.

J

jpms_dss_xml - module jpms_dss_xml
 

N

NamespaceContextMap - Class in eu.europa.esig.dss.xml.utils
A class for namespace context management.
NamespaceContextMap() - Constructor for class eu.europa.esig.dss.xml.utils.NamespaceContextMap
This is the default constructor

O

openStream() - Method in class eu.europa.esig.dss.xml.utils.DOMDocument
 

R

registerCanonicalizer(String) - Static method in class eu.europa.esig.dss.xml.utils.XMLCanonicalizer
This method allows to register a canonicalizer.
registerNamespace(DSSNamespace) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method allows to register a namespace and associated prefix.
registerNamespace(String, String) - Method in class eu.europa.esig.dss.xml.utils.NamespaceContextMap
This method allows to register a namespace and associated prefix.

S

SantuarioInitializer - Class in eu.europa.esig.dss.xml.utils
Customized Initialization of Santuario.
serializeNode(Node) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method performs the serialization of the given node
setAttributeNS(Element, DSSNamespace, DSSAttribute, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method adds an attribute with the namespace and the value
setTextNode(Document, Element, String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method sets a text node to the given DOM element.
startsFromHash(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Returns TRUE if the provided uri starts from the hash "#" character
startsWithXmlPreamble(byte[]) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Checks if the given byteArray content starts with an XML Preamble '<' Processes values with or without BOM-encoding NOTE: does not check XML-conformity of the whole file call isDOM(byteArray) for a deep check
startsWithXmlPreamble(DSSDocument) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
Checks if the given document starts with an XML Preamble '<' Processes values with or without BOM-encoding NOTE: does not check XML-conformity of the whole file call isDOM(DSSDocument) for a deep check

T

toElementReference(String) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method translates the given String to a local element reference with the given URI.

W

warning(TransformerException) - Method in class eu.europa.esig.dss.xml.utils.DSSXmlErrorListener
 
writeDocumentTo(Document, OutputStream) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method writes the Document content to an outputStream

X

XMLCanonicalizer - Class in eu.europa.esig.dss.xml.utils
Contains a set of method for canonicalization of org.w3c.dom.Node
xmlToString(Node) - Static method in class eu.europa.esig.dss.xml.utils.DomUtils
This method allows to convert an XML Node to a String.
A B C D E F G H I J N O R S T W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form