public abstract class DataTypeXml extends Object
| Constructor and Description |
|---|
DataTypeXml() |
| Modifier and Type | Method and Description |
|---|---|
static CommitProcessor |
chainProcessors(CommitProcessor processor1,
CommitProcessor processor2) |
static Processor |
chainProcessors(Processor processor1,
Processor processor2) |
static CommitProcessor |
createCommitProcessor(Element processorElement) |
static Processor |
createProcessor(Element processorElement) |
protected static String |
getAttribute(Element element,
String localName)
Returns the value of a certain attribute, either an unqualified attribute or an attribute that fits in the
default namespace
|
static boolean |
getBooleanValue(Element element,
boolean defaultValue) |
static LocalizedString |
getLocalizedDescription(String tagName,
Element element,
LocalizedString descriptions,
String key)
Reads a number of tags with 'xml:lang' attributes.
|
static long |
getLongValue(Element element) |
static String |
getValue(Element element) |
static boolean |
hasAttribute(Element element,
String localName)
Returns whether an element has a certain attribute, either an unqualified attribute or an attribute that fits in the
default namespace
|
public static boolean hasAttribute(Element element, String localName)
protected static String getAttribute(Element element, String localName)
public static LocalizedString getLocalizedDescription(String tagName, Element element, LocalizedString descriptions, String key)
tagName - Wich tags to read. The bodies are the values.element - From which element this tags must be childs.descriptions - Existing LocalizedString instance or null if a new one must be created.key - nullpublic static boolean getBooleanValue(Element element, boolean defaultValue)
public static CommitProcessor chainProcessors(CommitProcessor processor1, CommitProcessor processor2)
public static CommitProcessor createCommitProcessor(Element processorElement)
public static long getLongValue(Element element)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}