Class DitaReferenceTargetDescriptor


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

      Constructors 
      Constructor Description
      DitaReferenceTargetDescriptor​(java.lang.String id, java.lang.String nodeName, java.lang.String content, java.lang.String parentTopicId, java.lang.String referenceUrl, java.lang.String className)
      Constructor.
      DitaReferenceTargetDescriptor​(java.lang.String id, java.lang.String nodeName, java.lang.String content, java.lang.String parentTopicId, java.lang.String referenceUrl, java.lang.String className, java.lang.String rootClassName)
      Constructor.
    • Constructor Detail

      • DitaReferenceTargetDescriptor

        public DitaReferenceTargetDescriptor​(java.lang.String id,
                                             java.lang.String nodeName,
                                             java.lang.String content,
                                             java.lang.String parentTopicId,
                                             java.lang.String referenceUrl,
                                             java.lang.String className,
                                             java.lang.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​(java.lang.String id,
                                             java.lang.String nodeName,
                                             java.lang.String content,
                                             java.lang.String parentTopicId,
                                             java.lang.String referenceUrl,
                                             java.lang.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 Detail

      • getId

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

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

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

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

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

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

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

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