org.jopendocument.dom
Class ImmutableDocStyledNode<S extends StyleStyle,D extends ODDocument>
java.lang.Object
org.jopendocument.dom.ODNode
org.jopendocument.dom.StyledNode<S,D>
org.jopendocument.dom.ImmutableDocStyledNode<S,D>
- Direct Known Subclasses:
- Cell, Column, ODFrame, Row, Table
public class ImmutableDocStyledNode<S extends StyleStyle,D extends ODDocument>
- extends StyledNode<S,D>
Methods inherited from class org.jopendocument.dom.StyledNode |
getPrivateStyle, getStyle, getStyle, getStyle, getStyle, getStyleDesc, getStyleDesc, getStyleDesc, getStyleName, getStyleStyleDesc, setStyleName, setStyleName |
ImmutableDocStyledNode
public ImmutableDocStyledNode(D parent,
org.jdom.Element local,
Class<S> styleClass)
- Create a new instance. We used to find the
StyleStyle
class with reflection but this
was slow.
- Parameters:
parent
- the parent document.local
- our XML model.styleClass
- our class of style, cannot be null
.
ImmutableDocStyledNode
protected ImmutableDocStyledNode(D parent,
org.jdom.Element local,
StyleDesc<S> styleDesc)
getODDocument
public final D getODDocument()
- Specified by:
getODDocument
in class StyledNode<S extends StyleStyle,D extends ODDocument>
getContent
protected final ODXMLDocument getContent()
Copyright © 2010 jOpenDocument All Rights Reserved.