|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.datatypes.util.xml.DataTypeXml
public abstract class DataTypeXml
Static methods used for parsing of datatypes.xml
| Constructor Summary | |
|---|---|
DataTypeXml()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataTypeXml()
| Method Detail |
|---|
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 -
null
public static boolean getBooleanValue(Element element,
boolean defaultValue)
public static Processor chainProcessors(Processor processor1,
Processor processor2)
public static CommitProcessor chainProcessors(CommitProcessor processor1,
CommitProcessor processor2)
public static Processor createProcessor(Element processorElement)
public static CommitProcessor createCommitProcessor(Element processorElement)
public static String getValue(Element element)
public static long getLongValue(Element element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||