@NotThreadSafe public class CSSSupportsConditionNested extends Object implements ICSSSupportsConditionMember, ICSSSourceLocationAware
| Constructor and Description |
|---|
CSSSupportsConditionNested() |
| Modifier and Type | Method and Description |
|---|---|
CSSSupportsConditionNested |
addMember(ICSSSupportsConditionMember aMember) |
CSSSupportsConditionNested |
addMember(int nIndex,
ICSSSupportsConditionMember aMember) |
boolean |
equals(Object o) |
com.helger.commons.collection.impl.ICommonsList<ICSSSupportsConditionMember> |
getAllMembers() |
String |
getAsCSSString(ICSSWriterSettings aSettings,
int nIndentLevel)
Get the contents of this object as a serialized CSS string for writing to
an output.
|
ICSSSupportsConditionMember |
getMemberAtIndex(int nIndex) |
int |
getMemberCount() |
ECSSVersion |
getMinimumCSSVersion() |
CSSSourceLocation |
getSourceLocation() |
int |
hashCode() |
boolean |
hasMembers() |
com.helger.commons.state.EChange |
removeAllMembers()
Remove all members.
|
com.helger.commons.state.EChange |
removeMember(ICSSSupportsConditionMember aMember) |
com.helger.commons.state.EChange |
removeMember(int nIndex) |
void |
setSourceLocation(CSSSourceLocation aSourceLocation)
Set the source location of the object, determined while parsing.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAsCSSString, getAsCSSStringpublic boolean hasMembers()
@Nonnegative public int getMemberCount()
@Nonnull public CSSSupportsConditionNested addMember(@Nonnull ICSSSupportsConditionMember aMember)
@Nonnull public CSSSupportsConditionNested addMember(@Nonnegative int nIndex, @Nonnull ICSSSupportsConditionMember aMember)
@Nonnull public com.helger.commons.state.EChange removeMember(@Nonnull ICSSSupportsConditionMember aMember)
@Nonnull public com.helger.commons.state.EChange removeMember(@Nonnegative int nIndex)
@Nonnull public com.helger.commons.state.EChange removeAllMembers()
EChange.CHANGED if any member was removed,
EChange.UNCHANGED otherwise. Never null.@Nullable public ICSSSupportsConditionMember getMemberAtIndex(@Nonnegative int nIndex)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<ICSSSupportsConditionMember> getAllMembers()
@Nonnull @Nonempty public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
ICSSWriteablegetAsCSSString in interface ICSSWriteableaSettings - The settings to be used to format the output. May not be
null.nIndentLevel - The current indentation levelnull.@Nonnull public ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.public void setSourceLocation(@Nullable CSSSourceLocation aSourceLocation)
ICSSSourceLocationAwaresetSourceLocation in interface ICSSSourceLocationAwareaSourceLocation - The source location to use. May be null.@Nullable public CSSSourceLocation getSourceLocation()
getSourceLocation in interface ICSSSourceLocationAwarenull if an object was not read but manually
created.Copyright © 2014–2018 Philip Helger. All rights reserved.