Package | Description |
---|---|
com.massa.dsl.grammar | |
com.massa.mrules.factory.xml | |
com.massa.util |
Modifier and Type | Method and Description |
---|---|
static void |
GrammarRepository.loadGrammar(String path,
String fileName)
Loads a grammar and its language variation.
|
Grammar |
GrammarParser.read(InputSource is)
Parses grammar fron input source source.
|
Grammar |
GrammarParser.read(InputStream is)
Parses grammar fron input stream source.
|
Grammar |
GrammarParser.read(Node doc)
Parses grammar from xml node source.
|
Grammar |
GrammarParser.read(Reader r)
Parses grammar fron reader source.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractXMLFactory.autoSetFromAttributes(Node node,
Object obj) |
protected void |
AbstractXMLFactory.autoSetFromChildren(Node node,
Object obj) |
Modifier and Type | Method and Description |
---|---|
static void |
PositionalXMLReader.autoSafeSetFromAttributes(Node node,
Object obj,
Set<String> ignore)
Sets values in object from attributes values, ignoring attributes in provided set and those without corresponding field.
|
static void |
PositionalXMLReader.autoSetFromAttributes(Node node,
Object obj,
Set<String> ignore)
Sets values in object from attributes values, ignoring attributes in provided set.
|
static void |
PositionalXMLReader.autoSetFromAttributes(Node node,
Object obj,
Set<String> ignore,
Map<String,String> aliases)
Sets values in object from attributes values, ignoring attributes in provided set and using aliases
to convert node name to property name.
|
static void |
PositionalXMLReader.autoSetFromChildren(Node node,
Object obj,
Set<String> ignore)
Sets values in object from children nodes names and values, ignoring nodes names in provided set.
|
static void |
PositionalXMLReader.autoSetFromChildren(Node node,
Object obj,
Set<String> ignore,
Map<String,String> aliases)
Sets values in object from children nodes names and values, ignoring nodes names in provided set and using aliases
to convert node name to property name.
|
static String |
PositionalXMLReader.getAttrData(Node node,
String name) |
static String |
PositionalXMLReader.getAttrData(Node node,
String name,
boolean mandatory) |
static Node |
PositionalXMLReader.nextElement(Node n,
boolean moveFirst) |