@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class TopicRefInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABSOLUTE_URL
The absolute URL of the topic reference computed by Oxygen from the "href" value.
|
static java.lang.String |
HREF_VALUE
The value of the "href" attribute of the
|
static java.lang.String |
ID_PATH
The ID location (if any) inside the targeted URL.
|
Constructor and Description |
---|
TopicRefInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value of a recognized property.
|
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Get the value of a recognized property.
|
public static final java.lang.String ABSOLUTE_URL
public static final java.lang.String ID_PATH
public static final java.lang.String HREF_VALUE
public java.lang.Object getProperty(java.lang.String propertyName)
propertyName
- The property name. One of the following constants:
For example if a DITA Map with the URL "cms://test/file.ditamap" references a topic using the HREF_VALUE
task.dita#task
then the ABSOLUTE_URL
of the topic reference will be cms://test/task.dita and the ID_PATH
will be tasknull
if not available.public void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
propertyName
- The property name. One of the following constants:
propertyValue
- The value of the property.java.lang.IllegalArgumentException
- If the property name is not one of the constants in this class.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.