Class DitaReferenceTargetDescriptor

java.lang.Object
ro.sync.ecss.dita.DitaReferenceTargetDescriptor

@API(type=NOT_EXTENDABLE, src=PRIVATE) public class DitaReferenceTargetDescriptor extends Object
Descriptor for a conref target.
Since:
18.0
  • Constructor Details

    • DitaReferenceTargetDescriptor

      public DitaReferenceTargetDescriptor(String id, String nodeName, String content, String parentTopicId, String referenceUrl, String className, String rootClassName)
      Constructor.
      Parameters:
      id - The ID of the target node.
      nodeName - The name of the target node.
      content - Some content from the target node.
      parentTopicId - The ID of the parent topic (if there is a topic ancestor).
      referenceUrl - The reference URL.
      className - The name of the class.
      rootClassName - Root element class name.
    • DitaReferenceTargetDescriptor

      public DitaReferenceTargetDescriptor(String id, String nodeName, String content, String parentTopicId, String referenceUrl, String className)
      Constructor.
      Parameters:
      id - The ID of the target node.
      nodeName - The name of the target node.
      content - Some content from the target node.
      parentTopicId - The ID of the parent topic (if there is a topic ancestor).
      referenceUrl - The reference URL.
      className - The name of the class.
  • Method Details

    • getId

      public String getId()
      Returns:
      The ID of the target node.
    • getContent

      public String getContent()
      Returns:
      Some content from the target node.
    • getNodeName

      public String getNodeName()
      Returns:
      The name of the target node.
    • getParentTopicId

      public String getParentTopicId()
      Returns:
      The ID of the parent topic.
    • getReferenceUrl

      public String getReferenceUrl()
      Returns:
      Returns the reference URL.
    • getClassName

      public String getClassName()
      Returns:
      Returns the class of the target element.
    • getRootClassName

      public String getRootClassName()
      Returns:
      Returns the rootClassName. Can be null.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: