@ThreadSafe public final class PositionIDPair extends PositionID
| Modifier and Type | Class and Description |
|---|---|
(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.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static PositionIDPair |
newID(PollwikiVS wiki,
String pageName,
int rev,
String content0)
Constructs a PositionIDPair.
|
IDPair |
person()
The identifier of the person.
|
pageName, personName, pollNamestatic PositionIDPair newID(PollwikiVS wiki, String pageName, int rev, String content0) throws PositionIDPair.MalformedPageName, PipeRevision.MalformedContent
pageName - the name of the position page. It will automatically be
normalized if necessary.content0 - the wikitext of the position page including at least section 0.rev - the revision identifier of the content.PositionIDPair.MalformedPageNamePipeRevision.MalformedContent