org.jfree.layouting.input.swing
public class SwingDocumentImport extends Object
| Field Summary | |
|---|---|
| static String | ELEMENT_STYLE_ATTRIBUTE |
| static String | NAMESPACE |
| static String | STYLESHEET |
| static String | STYLESHEET_PCDATA |
| static String | STYLESHEET_TYPE |
| Constructor Summary | |
|---|---|
| SwingDocumentImport() | |
| Method Summary | |
|---|---|
| ConverterAttributeSet | convertAttributes(AttributeSet attr, Element context) |
| protected String | getElementText(Element element)
Returns the text content of an element.
|
| InputFeed | getFeed() |
| String | getNormalizedStyleName(String name) |
| protected void | handleElement(Element element) |
| static void | main(String[] args) |
| void | parseDocument(DefaultStyledDocument doc, InputFeed feed) |
| protected void | processDocumentProperties(DefaultStyledDocument document)
Processes the document properties. |
| protected void | processStyleElements(DefaultStyledDocument document)
Processes the style definitions of a styled document. |
| void | setFeed(InputFeed feed) |
Parameters: element The element containing text.
Returns: The text.
Throws: BadLocationException If the text position is invalid.
Parameters: document The document source.
Throws: InputFeedException If a problem occured with the feed.
Parameters: document The source document.
Throws: InputFeedException If a problem occured with the feed.