org.jopendocument.dom
Class StyleStyleDesc<S extends StyleStyle>

java.lang.Object
  extended by org.jopendocument.dom.StyleDesc<S>
      extended by org.jopendocument.dom.StyleStyleDesc<S>
Type Parameters:
S - type of style

public abstract class StyleStyleDesc<S extends StyleStyle>
extends StyleDesc<S>

Describe a family of style.

Author:
Sylvain CUAZ

Field Summary
static java.lang.String ELEMENT_DEFAULT_NAME
           
 
Method Summary
static
<C extends StyleStyle>
StyleStyleDesc<C>
copy(StyleStyleDesc<C> toClone, XMLVersion version)
           
 org.jdom.Element createDefaultElement()
           
 S findDefaultStyle(ODPackage pkg)
           
 S getDefaultStyle(ODPackage pkg, boolean create)
           
 java.lang.String getFamily()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jopendocument.dom.StyleDesc
copy, create, createAutoStyle, createAutoStyle, createCommonStyle, findStyleForNode, findStyleForNode, findStyleWithName, getBaseName, getElementName, getElementNS, getVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELEMENT_DEFAULT_NAME

public static final java.lang.String ELEMENT_DEFAULT_NAME
See Also:
Constant Field Values
Method Detail

copy

public static <C extends StyleStyle> StyleStyleDesc<C> copy(StyleStyleDesc<C> toClone,
                                                            XMLVersion version)

getFamily

public final java.lang.String getFamily()

findDefaultStyle

public final S findDefaultStyle(ODPackage pkg)

getDefaultStyle

public final S getDefaultStyle(ODPackage pkg,
                               boolean create)

createDefaultElement

public final org.jdom.Element createDefaultElement()

toString

public java.lang.String toString()
Overrides:
toString in class StyleDesc<S extends StyleStyle>