org.jopendocument.dom
Class StyleStyleDesc<S extends StyleStyle>
java.lang.Object
org.jopendocument.dom.StyleDesc<S>
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
Constructor Summary |
protected |
StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName)
|
protected |
StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName,
String ns)
|
protected |
StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName,
String ns,
List<String> refQNames)
|
Methods inherited from class org.jopendocument.dom.StyleDesc |
copy, create, createAutoStyle, createAutoStyle, createCommonStyle, createElement, evaluateConditions, findStyleForNode, findStyleForNode, findStyleWithName, getBaseName, getElementName, getElementNS, getMultiRefElementsMap, getRefElements, getRefElementsMap, getVersion, setElementNS, supportConditions |
ELEMENT_DEFAULT_NAME
public static final String ELEMENT_DEFAULT_NAME
- See Also:
- Constant Field Values
StyleStyleDesc
protected StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName,
String ns)
StyleStyleDesc
protected StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName,
String ns,
List<String> refQNames)
StyleStyleDesc
protected StyleStyleDesc(Class<S> clazz,
XMLVersion version,
String family,
String baseName)
copy
public static <C extends StyleStyle> StyleStyleDesc<C> copy(StyleStyleDesc<C> toClone,
XMLVersion version)
getFamily
public final String getFamily()
initStyle
protected void initStyle(org.jdom.Element elem)
- Overrides:
initStyle
in class StyleDesc<S extends StyleStyle>
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 String toString()
- Overrides:
toString
in class StyleDesc<S extends StyleStyle>
Copyright © 2010 jOpenDocument All Rights Reserved.