Package org.jdom2.located


package org.jdom2.located
Extended JDOM Content Classes that contain location coordinates. The coordinates are accessible using the Located interface which has getters and setters for the line and column details.

In addition, there is the LocatedJDOMFactory which can be used to create the Located-aware Content. The LocatedJDOMFactory can be used by a SAXBuilder to preserve the location data on the Content.

  • Class
    Description
    Implementations of this class know about their location (line and column).
    An XML CDATA section.
    An XML comment.
    An XML DOCTYPE declaration.
    This Element specialization contains the location information as parsed.
    An XML entity reference.
    All Content instances (Element, Comment, CDATA, DocType, Text, EntityRef, and ProcessingInstruction) will implement Located, and will have the values set appropriately.
    An XML processing instruction.
    An XML character sequence.