|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdom.Content
org.jdom.Element
ch.elexis.exchange.elements.SafeElement
public class SafeElement
Field Summary |
---|
Fields inherited from class org.jdom.Element |
---|
additionalNamespaces, name, namespace |
Fields inherited from class org.jdom.Content |
---|
parent |
Constructor Summary | |
---|---|
SafeElement(java.lang.String name)
|
|
SafeElement(java.lang.String name,
org.jdom.Namespace ns)
|
Method Summary | |
---|---|
void |
setAttributeEx(java.lang.String name,
java.lang.String value,
java.lang.String defaultValue)
This sets an attribute in a safe manner: If the value is null, some useful action is taken instead og throwing an exception |
Methods inherited from class org.jdom.Element |
---|
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString |
Methods inherited from class org.jdom.Content |
---|
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jdom.Parent |
---|
getDocument, getParent |
Constructor Detail |
---|
public SafeElement(java.lang.String name, org.jdom.Namespace ns)
public SafeElement(java.lang.String name)
Method Detail |
---|
public void setAttributeEx(java.lang.String name, java.lang.String value, java.lang.String defaultValue)
name
- name of the attributevalue
- value of the attributedefaultValue
- default to use if value resolves to null. If defaultValue is null, the attirbute
will not be set at all.
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |