class Wiki extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static Pattern |
DECORATED |
| Constructor and Description |
|---|
Wiki() |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
decorateId(String id,
String fieldName)
Prefixes a node number, because the a node number is not a convenient id.
|
(package private) Node |
findById(Element a,
NodeList links,
String fieldName,
Set<String> usedIds)
Searches in the existsing relations for a relation with the
given id
|
(package private) String |
generateId(String fieldName,
String nodeNumber,
Set<String> usedIds) |
(package private) Node |
getNode(Cloud cloud,
String id,
String fieldName)
Simply considers the id the node-number, but this could be sophisitcated on.
|
(package private) String |
idToNodeNumber(String id,
String fieldName) |
(package private) Document |
parse(Node editedNode,
Field field,
Document source) |
(package private) String |
prefix(String fieldName) |
static final Pattern DECORATED
Node findById(Element a, NodeList links, String fieldName, Set<String> usedIds)
a - The anchor which we are trying to matchlinks - List of alreayd existing relation objectsid - (of a)String decorateId(String id, String fieldName)
Node getNode(Cloud cloud, String id, String fieldName)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}