Package | Description |
---|---|
votorola.a |
Providing application-specific library code for Votorola:
an experimental technology for the public guidance of electoral systems,
executive offices, legislatures, and other decision systems.
|
votorola.a.count |
Counting votes and resources.
|
votorola.a.diff |
Differencing of position drafts.
|
votorola.a.diff.harvest |
Caching forum messages.
|
votorola.a.diff.harvest.auth | |
votorola.a.diff.harvest.cache | |
votorola.a.diff.harvest.run | |
votorola.a.position |
Formalizing stances on prospective issues.
|
votorola.a.response.line |
Interfacing with administrators via the command line.
|
votorola.a.trust |
Tracing trust networks and compiling residential voter registers.
|
votorola.a.voter |
Providing user-specific facilities.
|
votorola.a.web.wap |
Providing a web API for Votorola.
|
votorola.a.web.wic |
Serving Votorola's Wicket web interface.
|
votorola.a.web.wic.authen |
Identification and authentication of users.
|
votorola.g |
Providing general-purpose library code.
|
votorola.g.hold |
Holding and releasing programmatic resources.
|
votorola.g.io |
Input and output of data.
|
votorola.g.lang |
Relating to the core of Java.
|
votorola.g.logging |
Logging runtime events.
|
votorola.g.mail |
Sending and receiving email.
|
votorola.g.net |
Networking for data communication
|
votorola.g.script |
Embedded execution of scripts.
|
votorola.g.sql |
Communicating with relational databases.
|
votorola.g.text |
Handling text, dates, numbers and messages in a locale sensitive manner.
|
votorola.g.util |
Relating to 'utilities' in Java.
|
votorola.g.util.concurrent |
Controlling parallel processes.
|
votorola.g.web |
Networking by web protocols.
|
votorola.g.web.wic |
Serving Wicket applications.
|
votorola.g.xml.stream |
Streamed encoding in Extensible Markup Language (XML)
|
votorola.s.gwt.scene.feed.ss |
Supporting the server side of a feed.
|
votorola.s.line |
Command line executables for Votorola.
|
votorola.s.mail |
Votorola's mail interface.
|
votorola.s.wap |
Web APIs for Votorola.
|
votorola.s.wap.store |
The web API for the transient storage of unimportant data.
|
votorola.s.wic |
Votorola web UIs under Wicket.
|
votorola.s.wic.count |
The user interface of the count engine under Wicket.
|
votorola.s.wic.server |
A user interface providing an overview of the server under Wicket.
|
Modifier and Type | Class and Description |
---|---|
static class |
Geocode.Table
The geocode table of a vote-server, caching geocode data in relational form.
|
class |
GoogleGeocoder
A geocoder based on the Google Geocoding API, version 3.
|
static class |
InputStore.U
Input store utilities.
|
class |
OutputStore
Output store utilities.
|
static class |
OutputStore.ReadyDirectory
The path to a snap/readyTrace, snap/readyCount or other output record.
|
class |
PollwikiVS
A pollwiki from the viewpoint of a vote-server.
|
static class |
PollwikiVS.ConstructionContext
A context for configuring the construction of a PollwikiVS.
|
class |
VoterInputTable<S extends VoterService>
The input table of a voter service, storing its voter input in a relational form.
|
static class |
VoterService.ConstructionContext
A context for configuring a voter serivce.
|
class |
VoteServer
A server that provides polls and other voter services.
|
static class |
VoteServer.ConstructionContext
A context for configuring the construction of a VoteServer.
|
static class |
VoteServer.DatabaseCC
A context for configuring the construction of a vote-server Database.
|
class |
VoteServer.Run
A run of the vote-server.
|
class |
WikiCache
A directory of "semantic" data cached from the pollwiki
~/votorola/in/wiki . |
Modifier and Type | Method and Description |
---|---|
boolean |
VoterService.equals(Object o)
Returns true iff o is a voter service of the same class with the same name.
|
String |
VoterService.name()
The local name of this service.
|
File |
VoterService.serviceDirectory()
The directory containing this service's configuration files.
|
abstract File |
VoterService.startupConfigurationFile()
The startup configuration file for this service.
|
String |
VoterService.toString()
Returns the service name.
|
VoteServer.Run |
VoterService.vsRun()
The vote-server run, in which this service is provided.
|
Modifier and Type | Class and Description |
---|---|
class |
Count
The tallied results of a poll.
|
static class |
Count.VoteServerScope
API for all counts within the scope of a vote-server.
|
class |
CountTable
The relational store of count nodes that (in part) backs a mounted count.
|
static class |
CR_Vote.TracePair
A pair of vote traces: the old trace as of last count, and a projected trace that
takes into consideration the user's subsequent input if any.
|
class |
InputTable
The voter input table for all polls.
|
static class |
Poll.U
Poll utilities.
|
static class |
PollService.VoteServerScope
API for all polls within the scope of a vote-server.
|
class |
PollService.VoteServerScope.Run
API for all polls within the scope of a vote-server run.
|
class |
ReadyDirectory
The path to a snap/readyCount record.
|
Modifier and Type | Method and Description |
---|---|
int |
PollService.compareTo(PollService p)
Compares based on caseless short name, cased short name, caseless full name, and
finally cased full name.
|
Count |
PollService.countToReportT()
Siezes the thread-access lock and returns the current count to report, or null if
there is none.
|
String |
PollService.displayTitle() |
Set<String> |
PollService.divisionalComponents()
The set of divisions whose members are exclusively eligible to vote in this poll.
|
String |
PollService.divisionPageName()
The polling division, specified by its pollwiki pagename.
|
String |
PollService.divisionSmallMapPageName()
A small map of the polling division, specified by its pollwiki pagename.
|
String |
PollService.issueType() |
long |
PollService.populationSize()
The estimated number of eligible voters for this poll.
|
String |
PollService.populationSizeExplanation()
An explanation of the population size.
|
String |
PollService.shortName()
The short name of this poll, which is the part after the last slash '/' character.
|
File |
PollService.startupConfigurationFile() |
String |
PollService.summaryDescription() |
String |
PollService.title()
The title of this service in wiki-style title case.
|
InputTable |
PollService.voterInputTable() |
String |
PollService.wgLogoImageLocation()
The wiki logo (wgLogo) image location for this poll, or null if none is specified.
|
String |
PollService.wgLogoLinkTarget()
The wiki logo (wgLogo) link target for this poll.
|
Modifier and Type | Class and Description |
---|---|
class |
DiffCache
A directory of cached diff output
~/votorola/in/diff . |
class |
DiffKey
The identifier of a difference between two draft revisions (a and b).
|
class |
DiffKeyParse
A difference key in parsed form.
|
static class |
DiffKeyParse.MalformedKey
Thrown when a malformed difference key is detected.
|
class |
DiffLook1
A basic implementation of a difference look.
|
class |
DraftPair
A pair of draft revisions for differencing.
|
(package private) static class |
DraftPair.MalformedContent
Thrown when a request cannot be met because the content of a page is not in the
required form.
|
(package private) static class |
DraftPair.MalformedSpecifier
Thrown when a request cannot be met because the specifier of a draft pair is not
in the required form.
|
(package private) static class |
DraftPair.PathMismatch
Thrown when a request cannot be met because an actual draft revision path is
inconsistent with the expected path.
|
(package private) static class |
DraftPair.RevisionSeriesMismatch
Thrown when a request cannot be met because the revision series of the difference
key no longer matches that of the pollwiki.
|
class |
LineTransformer1
A bidirectional transformer of wikitext lines, that breaks incoming wikitext into
multiple lines at punctuation marks.
|
Modifier and Type | Field and Description |
---|---|
static Equator<DiffLook> |
DiffLookJS.EQUATOR
An equator that implements DiffLook.
|
Modifier and Type | Class and Description |
---|---|
class |
Marker
Final class to represent points in the archive.
|
class |
Message
Message structure for any communication medium.
|
class |
MessageContext
Data structure for message-contexts as long as the Url is unknown and the
message is therefore only known (including diff-urls) to determine harvesting
UpdateKicks.
|
(package private) class |
PipermailHarvester.Archive
Structure to save state of a single archive.
|
(package private) class |
PipermailHarvester.UpdateContext
Context to run fetchers and synchronize state during an update.
|
class |
StateTable
Database table to store harvester state for PipermailHarvester only atm.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicAuthenticator
This is a trivial authenticator, which author and addressee as email.
|
class |
WikiAuthenticator
Provide access to the semantic-mediawiki database for
a single property on the user's page.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthDiffMessage
Authenticated difference messages contain both the difference and authorship
information gained when
Authenticator matches a DiffMessage . |
class |
DiffMessage
DiffMessages are created by HarvestCache from Message
objects by HarvestCache.store(Message, Authenticator).
|
class |
DiffMessageTable
The relational store for diff messages.
|
class |
HarvestCache
Pass your messages from the communication media the cache to find and store
valid difference messages.
|
static class |
HarvestCache.ConstructionContext
A context for configuring the construction of a vote-server.
|
(package private) class |
RelAuthDiffMessage
TODO This wrapper is not used by
HarvestCache at the moment because
we don't have historic voting data in the database yet and therefore cannot
store relational data. |
Modifier and Type | Class and Description |
---|---|
class |
HarvestRunner
Service to schedule HTTP traffic asynchronously and gracefully on a per
archive basis.
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentPipeRevision
A particular revision of a component pipe.
|
(package private) static class |
ComponentPipeRevision.MalformedContent
Thrown when a request cannot be met because the content of a page is not in the
form required for a component pipe.
|
class |
ComponentPipeRevision1
A component pipe revision constructed for a specific draft
revision path.
|
class |
ComponentPipeRevisionL
A component pipe revision constructed nominally for the latest revision, not for a
specific draft revision path.
|
class |
ComponentPipeRevisionWV
A component pipe revision as viewed from the wild variant it nominates.
|
static class |
CoreRevision.U
CoreRevision utilities.
|
static class |
DraftRevision.U
DraftRevision utilities.
|
class |
LocalDraftRevision
A particular revision of a draft page local to the pollwiki.
|
class |
PageRevision1
An implementation of a page revision.
|
class |
PipeRecognizer0
A null implementation of a pipe recognizer.
|
class |
PipeRecognizer1
An implementation of a pipe recognizer.
|
static class |
PipeRevision.MalformedContent
Thrown when a request cannot be met because the content of a page is not in the
form required for a pipe.
|
class |
PointerRevision
A particular revision of a draft pointer.
|
(package private) static class |
PointerRevision.MalformedContent
Thrown when a request cannot be met because the content of a page is not in the
form required for a draft pointer.
|
(package private) static class |
PointerRevision.MalformedURL
Thrown when a request cannot be met because a draft pointer encodes an external
link with a malformed URL.
|
class |
PositionID
An identifier of a position.
|
class |
PositionIDPair
An identifier of a position, including a paired identifier for the person.
|
(package private) static class |
PositionIDPair.MalformedPageName
Thrown when a request cannot be met because a page name is not in the form
required for a position page.
|
class |
RemoteDraftRevision
A particular revision of a remote draft page.
|
Modifier and Type | Class and Description |
---|---|
class |
CommandLine
Utilities for the command-line administrative interface.
|
class |
ResultsCompiler
Base class of executables that compile results, such as lists or counts.
|
Modifier and Type | Class and Description |
---|---|
static class |
Membership.Table
The relational store of memberships that (in part) backs a compiled network trace.
|
class |
NetworkTrace
A completed trace of a neigbourhood trust network, which also serves as a residential
voter register and (till we start aggregating multiple registers) a simple voter list.
|
static class |
NetworkTrace.VoteServerScope
API for all traces of trust networks within the scope of a vote-server.
|
class |
ReadyDirectory
The path to a snap/readyTrace record.
|
class |
TraceNode0
A null implementation of a node in a compiled network trace.
|
static class |
TraceNodeW.Table
The relational store of nodes that (in part) backs a network trace.
|
static class |
TrustEdge.Primary
The extension of trust edges to a primary destination.
|
static class |
TrustEdge.Table
The relational store of trust edges that (in part) backs a compiled network trace.
|
Modifier and Type | Method and Description |
---|---|
GoogleGeocoder |
Trustserver.geocoder()
The trustserver's facility for converting street addresses to cartographic
coordinates.
|
TraceNode |
Trustserver.getTraceNode(NetworkTrace trace,
IDPair registrant)
Retrieves a registrant's node from a compiled network trace.
|
static Trustserver |
Trustserver.newTrustserver(VoteServer.Run run,
JavaScriptIncluder s)
Constructs a Trustserver.
|
File |
Trustserver.startupConfigurationFile() |
String |
Trustserver.summaryDescription() |
String |
Trustserver.title() |
(package private) static void |
Registration.toCommonXMLAttributes(TraceNode node,
VoterInputTable.XMLColumnAppender aC)
Serializes the common attributes of a registration in XML format.
|
(package private) static void |
Registration.toCommonXMLElements(Set<String> divisions,
VoterInputTable.XMLColumnAppender aC)
Serializes the common elements of a registration in XML format.
|
NetworkTrace |
Trustserver.traceToReportT()
The current network trace to report, or null if there is none.
|
Modifier and Type | Class and Description |
---|---|
class |
IDPair
A user identifier in two forms: email address and mailish username.
|
static class |
UserSettings.Table
The user-settings table of a vote-server, storing the settings in relational form.
|
static class |
VoterPage.SessionScope
Session scope for instances of VoterPage.
|
Modifier and Type | Method and Description |
---|---|
void |
ActivityList.TL.log(ActivityEvent e) |
Modifier and Type | Class and Description |
---|---|
class |
WAP
A web API for Votorola's servlet container (Tomcat).
|
Modifier and Type | Method and Description |
---|---|
static void |
Call.init(WAP wap)
The class initializer.
|
Modifier and Type | Class and Description |
---|---|
class |
NavBar
A navigation bar containing a series of tabs.
|
(package private) static class |
NavBar.SessionScope
Session scope for instances of NavBar.
|
class |
NavTab
A tab in a navigation bar, serving as a link to a page.
|
(package private) class |
PublicConfigRequestMapper
A request mapper for serving an external configuration directory from Wicket.
|
class |
SuperTab
A tab that controls the visibility of a navigation sub-bar.
|
class |
VOWicket
The Wicket web interface.
|
static class |
VOWicket.ConstructionContext
A context for configuring the web interface.
|
class |
VSession
A user session in the Wicket web interface.
|
static class |
VSession.User
An authenticated Wicket user.
|
Modifier and Type | Method and Description |
---|---|
static String |
VPage.shortened(String string)
Returns a version of the string that is truncated to SHORT_STRING_LENGTH_MAX characters.
|
static String |
VPage.shortenedWords(String string)
Returns a version of the string, in which each of the whitespace delimited words
is truncated to SHORT_STRING_LENGTH_MAX
characters; or the same string, if no truncation is required.
|
Modifier and Type | Class and Description |
---|---|
class |
Authenticator
A facility to verify the identity of a user.
|
class |
OpenIDAuthenticator
An authenticator based on OpenID and email handshakes.
|
class |
WikiAuthenticator
An authenticator based on the authentication facilities of the pollwiki, enabling synchronized login between it and
the Wicket interface.
|
static class |
WP_OpenIDReturn.SessionScope
Session scope for instances of WP_OpenIDReturn.
|
Modifier and Type | Method and Description |
---|---|
(package private) static String |
WC_Alias.toEmail(String alias)
Converts a user's chosen alias to an email address.
|
Modifier and Type | Class and Description |
---|---|
class |
BASH
Utilities for the Bourne-Again Shell.
|
class |
MediaWiki
Utilities for communicating with the MediaWiki wiki system.
|
static class |
MediaWiki.APIError
Thrown when a MediaWiki API call returns an explicit error response.
|
static class |
MediaWiki.MalformedRequest
Thrown when an improperly formed API call is detected.
|
static class |
MediaWiki.MalformedResponse
Thrown when the response to an API call is improperly formed.
|
static class |
MediaWiki.NoSuchItem
Thrown when a request cannot be met because an item does not exist.
|
static class |
MediaWiki.NoSuchPage
Thrown when a request cannot be met because a page does not exist.
|
static class |
MediaWiki.NoSuchRev
Thrown when a request cannot be met because a page revision does not exist.
|
class |
Votorola
Utilities for project Votorola.
|
Modifier and Type | Method and Description |
---|---|
static XMLStreamReader |
MediaWiki.newXMLStreamReader(InputStream in,
Spool spool)
Constructs a new stream reader suitable for reading a MediaWiki API response, and
reads just to the 'api' element.
|
Modifier and Type | Class and Description |
---|---|
class |
Spool0
A null implementation of a spool.
|
class |
SpoolHold
A hold that unwinds a spool when it is released.
|
class |
SpoolT
A thread-safe implementation of a spool based on a Vector.
|
Modifier and Type | Class and Description |
---|---|
class |
FileFilterX
FileFilter common implementations.
|
class |
FileHold
A hold that deletes a file when it is released.
|
class |
FileX
File utilities.
|
class |
InputStreamX
InputStream utilities.
|
class |
ReaderX
Reader utilities.
|
Modifier and Type | Class and Description |
---|---|
static class |
Catcher.U
Catcher utilities.
|
class |
Catcher00<S>
The null implementation of a catcher.
|
class |
Catcher0R<S>
A null implementation of a catcher that re-throws all errors and exceptions.
|
class |
CatcherL<S>
A catcher that logs exceptions, but rethrows errors.
|
class |
CatcherP<S>
A catcher that prints exceptions to the standard error stream,
but rethrows errors.
|
class |
IntegerX
Integer utilities.
|
class |
ProcessX
Process utilities.
|
class |
StringBuilderX
StringBuilder utilities.
|
static class |
ThreadSafe.U
Thread-safety utilities.
|
class |
ThreadX
An extended Thread, and Thread utilities.
|
static class |
ThreadX.UncaughtExceptionLogger
A handler that logs uncaught exceptions and errors using the thread's associated
logger.
|
static class |
ThreadX.UncaughtExceptionPrinter
A handler that prints stack traces of uncaught exceptions and errors to the
standard error stream.
|
class |
ThrowableX
Throwable utilities.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ObjectX.tryWait(Object object)
Same as object.wait(), but returns normally if interrupted.
|
static boolean |
ObjectX.tryWait(Object object,
long timeout)
Same as object.wait(milliseconds), but returns normally if interrupted.
|
Modifier and Type | Class and Description |
---|---|
class |
LoggerX
Logger utilities.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AddressValidationP
Validation of email addresses using a regular expression pattern.
|
class |
InternetAddressX
Internet (email) address utilities.
|
class |
MessageX
Message utilities.
|
class |
PartX
Part utilities.
|
static class |
SMTPTransportX.ConstructionContext
A context for configuring access to an SMTP transfer server.
|
class |
StoreX
Store utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CookieHandlerX
CookieHandler utilities.
|
class |
Net
Networking utilities.
|
class |
URIX
URI utilities.
|
class |
URLConnectionX
URLConnection utilities.
|
class |
URLEncodedWriter
A writer that outputs strings encoded in MIME format
application/x-www-form-urlencoded.
|
Modifier and Type | Class and Description |
---|---|
class |
JSONStringWriter
A writer that outputs JSON string content, properly escaping any characters that
require it.
|
class |
MisconfigurationException
Thrown when a script that serves a configuration purpose is missing or malformed.
|
class |
ScriptEngineX
Script engine utilities.
|
class |
ScriptExceptionX
Script exception notes.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayX
Array utilities.
|
static class |
Database.ConstructionContext
A context for configuring a PostgreSQL database.
|
class |
XMLColumnAppender
An XML serializer for the storage of non-relational data in an 'xml' table column.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Database.equals(Object o)
Returns true iff o is a database configured with the same name, server name, port
and user.
|
int |
Database.hashCode() |
void |
Database.init(org.postgresql.ds.PGSimpleDataSource s)
Finishes constructing this Database.
|
void |
Database.logAndClearWarnings()
Logs any warnings recorded in the connection, and clears them.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleDateFormatX
SimpleDateFormat utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayListU<E>
An unmodifiable list backed by an array.
|
class |
BundleControlU
A resource bundle control to enable loading of UTF-8 property files, as opposed the
ISO-8859-1 encoding expected by the default control.
|
Modifier and Type | Class and Description |
---|---|
class |
ScheduledThreadPoolExecutorX
An extended ScheduledThreadPoolExecutor.
|
Modifier and Type | Class and Description |
---|---|
class |
HTTPServletRequestX
Servlet request utilities.
|
class |
HTTPServletResponseX
Servlet response utilities.
|
Modifier and Type | Method and Description |
---|---|
static String |
CookieX.decodedValue(String encodedValue)
Decodes a previously
encodedValue and returns the result. |
static String |
CookieX.encodedValue(String decodedValue)
Encodes the value such that it has no illegal characters and returns the result.
|
Modifier and Type | Class and Description |
---|---|
class |
Bookmark
The link particulars of a bookmarkable page, namely the page class and parameters.
|
class |
ConversionExceptionLM
A conversion exception with a pre-localized message.
|
class |
IModelX
IModel utilities.
|
class |
IWrapModelX
IWrapModel utilities.
|
class |
Model0<T>
A null implementation of a model.
|
class |
ModelLengthLimiter<S extends CharSequence>
A model wrapper that enforces a maximum length of character sequences.
|
class |
PageParametersX
PageParameters utilities.
|
class |
RequestCycleRunner0
Null implementation of a runner.
|
class |
ValidationError1
Simple implementation of a validation error.
|
class |
WebResponseX
Web response utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
LocationI
An immutable location.
|
class |
LocationX
Location utilities.
|
Modifier and Type | Class and Description |
---|---|
static class |
Biter.U
Biter utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
VOCount
Main class of the executable
vocount - a tool to count the votes. |
class |
VODeliver
Main class of the executable
vodeliver - a test tool to deliver
email messages to a mailbox. |
class |
VOLog
Main class of the executable
volog - a test tool to log messages at all
logging levels. |
class |
VOQProperties
Main class of the executable
voqproperties - a test tool to print the
runtime properties. |
class |
VOScript
Main class of the executable
voscript - an interpreter to test the
compilation of a configuration script. |
Modifier and Type | Method and Description |
---|---|
static void |
VOMir.main(String[] argv)
Executes from the command line.
|
Modifier and Type | Class and Description |
---|---|
static class |
MailMetaService.ConstructionContext
A context for configuring the mail interface's voter
meta-service.
|
class |
VOFaceMail
The mail-based voter interface (mail interface).
|
static class |
VOFaceMail.ConstructionContext
A context for configuring the mail interface.
|
Modifier and Type | Method and Description |
---|---|
static MailMetaService |
MailMetaService.newMetaService(VoteServer.Run vsRun,
JavaScriptIncluder s)
Constructs a MailMetaService.
|
File |
MailMetaService.startupConfigurationFile() |
Modifier and Type | Class and Description |
---|---|
class |
DummyFeedSS
The server side of the dummy feed, implementing the feed service.
|
Modifier and Type | Class and Description |
---|---|
class |
StoreTable
The relational backing for the StoreWAP web API.
|
Modifier and Type | Method and Description |
---|---|
static void |
StoreWAP.init(WAP wap) |
Modifier and Type | Class and Description |
---|---|
static class |
WP_Draft.ApplicationScope
Application scope for instances of WP_Draft.
|
Modifier and Type | Class and Description |
---|---|
static class |
WP_Poll.SessionScope
Session scope for instances of WP_Poll.
|
(package private) static class |
WP_Votespace.VotespaceTab |
Modifier and Type | Class and Description |
---|---|
static class |
WP_Activity.ApplicationScope
Application scope for instances of WP_Activity.
|