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