public class XMLCondition extends org.docgene.model.conditions.DefaultCondition implements ParagraphElement, org.docgene.model.NonEmptyLineAscendant
TYPE_NONE
Constructor and Description |
---|
XMLCondition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
XMLIfCondition |
getElseCondition()
Return the else condition.
|
XMLIfCondition |
getIfCondition()
Return the if condition.
|
void |
setElseCondition(XMLIfCondition elseCondition)
Set the else condition.
|
void |
setIfCondition(XMLIfCondition ifCondition)
Set the if condition.
|
addPackage, getComparisonType, getConditionType, getPackages, getPropertyName, getPropertyValue, getResult, isPackageCondition, isPropertyCondition, isPropertyPresenceCondition, setComparisonType, setConditionType, setProperty, setResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public void setIfCondition(XMLIfCondition ifCondition)
ifCondition
- the if conditionpublic XMLIfCondition getIfCondition()
public void setElseCondition(XMLIfCondition elseCondition)
elseCondition
- the else conditionpublic XMLIfCondition getElseCondition()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence