A B C D E F G H I L M N O P Q R S T U V 
All Classes All Packages

A

appendToPath(String, StringBuilder, IdentifierIssuer, List<String>) - Method in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
Append an ID to the hash path.
array - Variable in class com.apicatalog.rdf.canon.Permutator
The array we are permuting.
asc() - Static method in class com.apicatalog.rdf.canon.QuadComparator
 
assign(IdentifierIssuer) - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Create a mapping in another issuer for all identifiers issued by this, in the same order that they were issued by this.

B

Blank - Class in com.apicatalog.rdf.canon
 
Blank() - Constructor for class com.apicatalog.rdf.canon.Blank
 
BLANK_A - Static variable in class com.apicatalog.rdf.canon.RdfCanon
 
BLANK_Z - Static variable in class com.apicatalog.rdf.canon.RdfCanon
 
blankGraph - Variable in class com.apicatalog.rdf.canon.Quad
 
blankIdToQuadSet - Variable in class com.apicatalog.rdf.canon.RdfCanon
Map of blank IDs to all the quads that reference that specific blank ID.
blankNodes - Variable in class com.apicatalog.rdf.canon.RdfCanon
A map of blank node identifiers to their corresponding Blank nodes, used during RDF canonicalization for efficient relabeling of blank nodes.
blankObject - Variable in class com.apicatalog.rdf.canon.Quad
 
blankSubject - Variable in class com.apicatalog.rdf.canon.Quad
 

C

CAN_BE_BLANK - Static variable in enum com.apicatalog.rdf.canon.Position
Set of positions in a quad which can be blank.
canonIssuer - Variable in class com.apicatalog.rdf.canon.RdfCanon
Issuer of canonical IDs to blank nodes.
chosenIssuer - Variable in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
The currently chosen identifier issuer.
chosenPath - Variable in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
The currently chosen path.
com.apicatalog.rdf.canon - package com.apicatalog.rdf.canon
 
compare(Quad, Quad) - Method in class com.apicatalog.rdf.canon.QuadComparator
 
compareTo(NDegreeResult) - Method in class com.apicatalog.rdf.canon.NDegreeResult
 
copy() - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Create a copy of this issuer.
count - Variable in class com.apicatalog.rdf.canon.Permutator
Counts for Heap's algorithm.
counter - Variable in class com.apicatalog.rdf.canon.IdentifierIssuer
Counter for creating new identifiers.
create(String) - Static method in class com.apicatalog.rdf.canon.RdfCanon
Creates a new instance of RdfCanon using the specified hash algorithm.
create(String, RdfCanonTicker) - Static method in class com.apicatalog.rdf.canon.RdfCanon
Creates a new instance of RdfCanon using the specified hash algorithm and RdfCanonTicker.
create(MessageDigest) - Static method in class com.apicatalog.rdf.canon.RdfCanon
Creates a new instance of RdfCanon using the specified MessageDigest.
create(MessageDigest, RdfCanonTicker) - Static method in class com.apicatalog.rdf.canon.RdfCanon
Creates a new RdfCanon instance configured with the provided MessageDigest and RdfCanonTicker.
createHashToRelated(String, IdentifierIssuer) - Method in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
Implementation of steps 1 to 3 of the Hash N-Degree Quads algorithm.

D

dataToHash - Variable in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
The data which will go into the hash.
datatype - Variable in class com.apicatalog.rdf.canon.Quad
 
digest - Variable in class com.apicatalog.rdf.canon.RdfCanon
An instance of a message digest algorithm (SHA-256, SHA-384, or custom).
direction - Variable in class com.apicatalog.rdf.canon.Quad
 
doPermutation(String[], IdentifierIssuer) - Method in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
Process one possible permutation of the blank nodes.

E

EMPTY - Static variable in interface com.apicatalog.rdf.canon.RdfCanonTicker
 
equals(Object) - Method in class com.apicatalog.rdf.canon.NDegreeResult
 
equals(Object) - Method in class com.apicatalog.rdf.canon.Quad
 
existing - Variable in class com.apicatalog.rdf.canon.IdentifierIssuer
Identifiers that have already been issued.

F

forBlank(Quad, String) - Method in class com.apicatalog.rdf.canon.RdfCanon
 

G

get(Quad) - Method in enum com.apicatalog.rdf.canon.Position
Get the value at this position in the quad.
getForBlank(String) - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
 
getHash() - Method in class com.apicatalog.rdf.canon.NDegreeResult
Get the hash generated by the Hash N-Degree Quads algorithm.
getId(String) - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Get or allocate a new ID for the specified old ID.
getIfExists(String) - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Get the resource replaced by a proper blank identifier if appropriate.
getIssuer() - Method in class com.apicatalog.rdf.canon.NDegreeResult
Get the issuer used by the algorithm to produce the hash.
graph - Variable in class com.apicatalog.rdf.canon.Quad
 
graph() - Method in class com.apicatalog.rdf.canon.Quad
 
GRAPH - com.apicatalog.rdf.canon.Position
The graph the quad belongs to.

H

hash - Variable in class com.apicatalog.rdf.canon.NDegreeResult
The hash generated by the Hash N-Degree Quads algorithm.
hash(String, IdentifierIssuer) - Method in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
Calculate the hash from the N-Degree nodes.
hashCode() - Method in class com.apicatalog.rdf.canon.NDegreeResult
 
hashCode() - Method in class com.apicatalog.rdf.canon.Quad
 
hashFirstDegree(String) - Method in class com.apicatalog.rdf.canon.RdfCanon
 
hashNDegreeQuads(String, IdentifierIssuer) - Method in class com.apicatalog.rdf.canon.RdfCanon
 
HashNDegreeQuads() - Constructor for class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
 
hashRelatedBlankNode(String, Quad, IdentifierIssuer, Position) - Method in class com.apicatalog.rdf.canon.RdfCanon.HashNDegreeQuads
Create a hash of the related blank nodes, as described in the specification.
hashToBlankId - Variable in class com.apicatalog.rdf.canon.RdfCanon
Hash to associated IRIs.
hasId(String) - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Does an old ID have an allocated new ID?.
hasNext() - Method in class com.apicatalog.rdf.canon.Permutator
 
hex(byte[]) - Static method in class com.apicatalog.rdf.canon.RdfCanon
Convert bytes to hexadecimal.
HEX - Static variable in class com.apicatalog.rdf.canon.RdfCanon
The lower-case hexadecimal alphabet.

I

IdentifierIssuer - Class in com.apicatalog.rdf.canon
An issuer of counted identifiers to map identifiers from one naming scheme to another.
IdentifierIssuer(String) - Constructor for class com.apicatalog.rdf.canon.IdentifierIssuer
Create a new instance.
IdentifierIssuer(String, Map<String, String>, int) - Constructor for class com.apicatalog.rdf.canon.IdentifierIssuer
 
init() - Method in class com.apicatalog.rdf.canon.Quad
 
INSTANCE - Static variable in class com.apicatalog.rdf.canon.QuadComparator
 
isBlank(Quad) - Method in enum com.apicatalog.rdf.canon.Position
Is the value at this position in the quad a blank node identifier?.
issueNDegreeIds() - Method in class com.apicatalog.rdf.canon.RdfCanon
 
issuer - Variable in class com.apicatalog.rdf.canon.NDegreeResult
The identifier issuer used in generating this result.
issueSimpleIds() - Method in class com.apicatalog.rdf.canon.RdfCanon
 

L

language - Variable in class com.apicatalog.rdf.canon.Quad
 

M

makeCanonQuads(RdfQuadConsumer) - Method in class com.apicatalog.rdf.canon.RdfCanon
 
mapping() - Method in class com.apicatalog.rdf.canon.IdentifierIssuer
Get blank nodes mapping table.
mapping() - Method in class com.apicatalog.rdf.canon.RdfCanon
 
maxDurationMillis - Variable in class com.apicatalog.rdf.canon.RdfCanonTimeTicker
Maximum allowed execution time in milliseconds.

N

NDegreeResult - Class in com.apicatalog.rdf.canon
The output of the Hash N-Degree Quad algorithm.
NDegreeResult(String, IdentifierIssuer) - Constructor for class com.apicatalog.rdf.canon.NDegreeResult
 
newInstance(Set<Quad>, MessageDigest, RdfCanonTicker) - Static method in class com.apicatalog.rdf.canon.RdfCanon
 
next() - Method in class com.apicatalog.rdf.canon.Permutator
 
nextExists - Variable in class com.apicatalog.rdf.canon.Permutator
Does another permutation exist?.
nonNormalized - Variable in class com.apicatalog.rdf.canon.RdfCanon
A set of non-normalized values.
normalized - Variable in class com.apicatalog.rdf.canon.Blank
 
nquad - Variable in class com.apicatalog.rdf.canon.Quad
 

O

object - Variable in class com.apicatalog.rdf.canon.Quad
 
object() - Method in class com.apicatalog.rdf.canon.Quad
 
OBJECT - com.apicatalog.rdf.canon.Position
The object of the quad.

P

Permutator - Class in com.apicatalog.rdf.canon
Iterate over all possible permutations of an array.
Permutator(String[]) - Constructor for class com.apicatalog.rdf.canon.Permutator
 
Position - Enum in com.apicatalog.rdf.canon
Enumeration of positions in an RDF quad.
Position(char) - Constructor for enum com.apicatalog.rdf.canon.Position
 
predicate - Variable in class com.apicatalog.rdf.canon.Quad
 
PREDICATE - com.apicatalog.rdf.canon.Position
The predicate of the quad.
prefix - Variable in class com.apicatalog.rdf.canon.IdentifierIssuer
The prefix for new identifiers.
provide(RdfQuadConsumer) - Method in class com.apicatalog.rdf.canon.RdfCanon
Emits canonical RDF quads to the given consumer.

Q

quad(String, String, String, String, String, String, String) - Method in class com.apicatalog.rdf.canon.RdfCanon
 
Quad - Class in com.apicatalog.rdf.canon
 
Quad() - Constructor for class com.apicatalog.rdf.canon.Quad
 
QuadComparator - Class in com.apicatalog.rdf.canon
 
QuadComparator() - Constructor for class com.apicatalog.rdf.canon.QuadComparator
 
quads - Variable in class com.apicatalog.rdf.canon.RdfCanon
All the n-quads in the dataset to be processed.

R

RdfCanon - Class in com.apicatalog.rdf.canon
An implementation of the Standard RDF Dataset Canonicalization Algorithm as defined by the W3C.
RdfCanon(Map<String, Collection<Quad>>, Map<String, Blank>, MessageDigest, Set<Quad>, RdfCanonTicker) - Constructor for class com.apicatalog.rdf.canon.RdfCanon
 
RdfCanon.HashNDegreeQuads - Class in com.apicatalog.rdf.canon
The state information for the hash n-degree quads algorithm.
RdfCanonTicker - Interface in com.apicatalog.rdf.canon
Functional interface that enables controlled interruption of the RDF dataset canonicalization process based on user-defined criteria.
RdfCanonTimeTicker - Class in com.apicatalog.rdf.canon
An implementation of RdfCanonTicker that monitors elapsed time in milliseconds and interrupts the RDF canonicalization process if a specified maximum duration is exceeded.
RdfCanonTimeTicker(long) - Constructor for class com.apicatalog.rdf.canon.RdfCanonTimeTicker
Creates a new ElapsedTimeTicker with a specified timeout duration.

S

set(Quad, String, Blank) - Method in enum com.apicatalog.rdf.canon.Position
 
setNonNormalized() - Method in class com.apicatalog.rdf.canon.RdfCanon
 
setResource(Position, Quad, String) - Method in class com.apicatalog.rdf.canon.RdfCanon
 
startTimeMillis - Variable in class com.apicatalog.rdf.canon.RdfCanonTimeTicker
Start time in milliseconds, initialized on the first tick() call.
state - Variable in class com.apicatalog.rdf.canon.Permutator
State for Heap's algorithm.
subject - Variable in class com.apicatalog.rdf.canon.Quad
 
subject() - Method in class com.apicatalog.rdf.canon.Quad
 
SUBJECT - com.apicatalog.rdf.canon.Position
The subject of the quad.
swap(int, int) - Method in class com.apicatalog.rdf.canon.Permutator
 

T

tag - Variable in enum com.apicatalog.rdf.canon.Position
The tag used to represent the position in hashes.
tag() - Method in enum com.apicatalog.rdf.canon.Position
Get the tag to include in hashes to represent this position.
tick() - Method in interface com.apicatalog.rdf.canon.RdfCanonTicker
Called periodically during RDF dataset canonicalization to determine whether the process should continue.
tick() - Method in class com.apicatalog.rdf.canon.RdfCanonTimeTicker
Invoked periodically during RDF canonicalization to check if the maximum execution time has been exceeded.
ticker - Variable in class com.apicatalog.rdf.canon.RdfCanon
Allows premature termination of the canonicalization process based on criteria defined by the associated RdfCanonTicker instance.
toString() - Method in class com.apicatalog.rdf.canon.Quad
 

U

update() - Method in class com.apicatalog.rdf.canon.Quad
 

V

valueOf(String) - Static method in enum com.apicatalog.rdf.canon.Position
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apicatalog.rdf.canon.Position
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P Q R S T U V 
All Classes All Packages