org.enhydra.xml.io
Interface PreFormattedText
- All Known Subinterfaces:
- LazyElement
- All Known Implementing Classes:
- LazyText
- public interface PreFormattedText
Interface that nodes of a document must implement if they have formatted
text. Formatted text can be available on:
- Text nodes - Formatted text is a string with entity references already
expanded.
- Element nodes - Formatted text is the opening tag, with entity
references in attribute-values expanded.
getPreFormattedText
public String getPreFormattedText()
- Get the pre-formatted text for a node.
- Returns:
- The pre-formatted text string, or null if no formatted
text is available or the text is no longer valid.
setPreFormattedText
public void setPreFormattedText(String text)
- Set the pre-formatted text for a node.
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.