Top Description Interfaces Classes
[default module]

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.

Interface Summary

Modifier and TypeInterface and Description
public interface
Located

Implementations of this class know about their location (line and column).

Class Summary

Modifier and TypeClass and Description
public class
LocatedCDATA

An XML CDATA section.

public class
LocatedComment

An XML comment.

public class
LocatedDocType

An XML DOCTYPE declaration.

public class
LocatedElement

This Element specialization contains the location information as parsed.

public class
LocatedEntityRef

An XML entity reference.

public class
LocatedJDOMFactory

All Content instances (Element, Comment, CDATA, DocType, Text, EntityRef, and ProcessingInstruction) will implement Located, and will have the values set appropriately.

public class
LocatedProcessingInstruction

An XML processing instruction.

public class
LocatedText

An XML character sequence.