| java.lang.Object org.mandarax.xkb.AbstractXKBDriver
All known Subclasses: org.mandarax.xkb.ruleml.AbstractRuleMLDriver,
AbstractXKBDriver | abstract public class AbstractXKBDriver implements XKBDriver(Code) | | Abstract super class for XKB drivers.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.4 |
Method Summary | |
protected List | collectChildren(Element e, String name1, String name2) Get a list of all child elements
nested directly (one level deep) within this element
with one of the given names. | protected List | collectChildren(Element e, String name1, String name2, String name3) Get a list of all child elements
nested directly (one level deep) within this element
with one of the given names. | protected boolean | compare(String s1, String s2) Compare two strings representing tag names. | protected int | countChildren(Element e, String name) Get the number of all child elements
nested directly (one level deep) within this element
with the given name. | protected int | countChildren(Element e, String name1, String name2) Get the number of all child elements
nested directly (one level deep) within this element
with one of the given names. | protected int | countChildren(Element e, String name1, String name2, String name3) Get the number of all child elements
nested directly (one level deep) within this element
with one of the given names. | public String | getName() Get the name of the driver. |
AbstractXKBDriver | public AbstractXKBDriver()(Code) | | Constructor.
|
collectChildren | protected List collectChildren(Element e, String name1, String name2)(Code) | | Get a list of all child elements
nested directly (one level deep) within this element
with one of the given names. Preserve the order of children.
a list of children with the respective names Parameters: e - an element Parameters: name1 - a name Parameters: name2 - a name |
collectChildren | protected List collectChildren(Element e, String name1, String name2, String name3)(Code) | | Get a list of all child elements
nested directly (one level deep) within this element
with one of the given names. Preserve the order of children.
a list of children with the respective names Parameters: e - an element Parameters: name1 - a name Parameters: name2 - a name Parameters: name3 - a nam |
compare | protected boolean compare(String s1, String s2)(Code) | | Compare two strings representing tag names.
a boolean Parameters: s1 - string 1 Parameters: s2 - string 2 |
countChildren | protected int countChildren(Element e, String name)(Code) | | Get the number of all child elements
nested directly (one level deep) within this element
with the given name.
the number of children Parameters: e - an element Parameters: name - a name |
countChildren | protected int countChildren(Element e, String name1, String name2)(Code) | | Get the number of all child elements
nested directly (one level deep) within this element
with one of the given names.
the number of children Parameters: e - an element Parameters: name1 - a name Parameters: name2 - a name |
countChildren | protected int countChildren(Element e, String name1, String name2, String name3)(Code) | | Get the number of all child elements
nested directly (one level deep) within this element
with one of the given names.
the number of children Parameters: e - an element Parameters: name1 - a name Parameters: name2 - a name Parameters: name3 - a name |
getName | public String getName()(Code) | | Get the name of the driver.
a text |
|
|