public class XMLBlockquote extends org.docgene.model.AbstractParagraph implements StyledElement
TYPE_NONE
Constructor and Description |
---|
XMLBlockquote()
Constructor for a top-level blockquote.
|
XMLBlockquote(XMLBlockquote parent)
Constructor for a blockquote which is a child of a parent blockquote.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getCustomStyles()
Return the element custom classes.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
int |
getLevel()
Return the blockquote level.
|
void |
setCustomStyles(java.util.Set<java.lang.String> classes)
Set the element custom classes.
|
addElement, getElements, removeLastElement, setElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
public XMLBlockquote()
public XMLBlockquote(XMLBlockquote parent)
parent
- the parent blockquotepublic java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public int getLevel()
public void setCustomStyles(java.util.Set<java.lang.String> classes)
setCustomStyles
in interface StyledElement
classes
- the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles
in interface StyledElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence