| Constructor and Description |
|---|
URIContext() |
| Modifier and Type | Method and Description |
|---|---|
URIContext |
clone() |
String |
getFileId()
Gets the id of the file selector.
|
String |
getGroupId()
Gets the id of the group selector.
|
String |
getUnitId()
Gets the id of the unit selector.
|
Object |
matches(Event event,
URIParser up) |
static Object |
searchData(Unit unit,
String dataId)
Searches an original data object in a given unit.
|
static Object |
searchExtensions(IWithExtElements parent,
AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
Searches recursively an
IWithExtElements object for an extension object with a given id. |
static Object |
searchInlineSource(Unit unit,
String id)
Searches a source inline code, segment or ignorable in a unit.
|
static Object |
searchInlineTarget(Unit unit,
String id)
Searches a target inline code in a unit.
|
static Object |
searchMatch(ExtElement elem,
AbstractMap.SimpleEntry<String,List<String>> extensionInfo) |
static Note |
searchNotes(IWithNotes parent,
String id)
Searches an
IWithNotes object for a note with a given id. |
static Object |
searchUnit(Unit unit,
AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
Searches recursively a
Unit object for a module or an extension object with a given id. |
void |
setFileId(String fileId)
Sets the the id of the file selector.
|
void |
setGroupId(String groupId)
Sets the id of the group selector.
|
void |
setUnitId(String unitId)
Sets the id of the unit selector.
|
public URIContext clone()
public String getFileId()
public void setFileId(String fileId)
fileId - the new id of the file selector (can be null).public String getGroupId()
public void setGroupId(String groupId)
groupId - the new id of the group selector (can be null).public String getUnitId()
public void setUnitId(String unitId)
unitId - the new id of the unit selector (can be null).public static Note searchNotes(IWithNotes parent, String id)
IWithNotes object for a note with a given id.parent - the object where to search.id - the id of the note to search for.public static Object searchInlineSource(Unit unit, String id)
unit - the unit where to search.id - the id of the object to search for.public static Object searchInlineTarget(Unit unit, String id)
unit - the unit where to search.id - the id of the object to search for.public static Object searchUnit(Unit unit, AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
Unit object for a module or an extension object with a given id.unit - the unit where to search.extensionInfo - the information for the object to search for.public static Object searchExtensions(IWithExtElements parent, AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
IWithExtElements object for an extension object with a given id.parent - the object where to search.extensionInfo - the information for the object to search for.public static Object searchMatch(ExtElement elem, AbstractMap.SimpleEntry<String,List<String>> extensionInfo)
Copyright © 2020. All rights reserved.