public abstract class Base extends Object implements Serializable, IBase
| Constructor and Description |
|---|
Base() |
| Modifier and Type | Method and Description |
|---|---|
List<Property> |
children()
Supports iterating the children elements in some generic processor or browser
All defined children will be listed, even if they have no value on this instance
Note that the actual content of primitive or xhtml elements is not iterated explicitly.
|
static boolean |
compareDeep(Base e1,
Base e2,
boolean allowNull) |
static boolean |
compareDeep(List<? extends Base> e1,
List<? extends Base> e2,
boolean allowNull) |
static boolean |
compareDeep(XhtmlNode div1,
XhtmlNode div2,
boolean allowNull) |
static boolean |
compareValues(List<? extends PrimitiveType> e1,
List<? extends PrimitiveType> e2,
boolean allowNull) |
static boolean |
compareValues(PrimitiveType e1,
PrimitiveType e2,
boolean allowNull) |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
Property |
getChildByName(String name) |
List<String> |
getFormatCommentsPost() |
List<String> |
getFormatCommentsPre() |
Object |
getUserData(String name) |
int |
getUserInt(String name) |
String |
getUserString(String name) |
boolean |
hasFormatComment() |
boolean |
hasUserData(String name) |
boolean |
isEmpty() |
List<Base> |
listChildrenByName(String name) |
void |
setUserData(String name,
Object value) |
void |
setUserDataINN(String name,
Object value) |
public boolean hasUserData(String name)
public int getUserInt(String name)
public boolean hasFormatComment()
public List<Property> children()
Type, and examine the valuepublic boolean equalsDeep(Base other)
public boolean equalsShallow(Base other)
public static boolean compareDeep(List<? extends Base> e1, List<? extends Base> e2, boolean allowNull)
public static boolean compareValues(List<? extends PrimitiveType> e1, List<? extends PrimitiveType> e2, boolean allowNull)
public static boolean compareValues(PrimitiveType e1, PrimitiveType e2, boolean allowNull)
Copyright © 2014–2015 University Health Network. All rights reserved.