|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oxygenxml.validate.nvdl.Trigger
public class Trigger
Strores trigger information and checks trigger activation.
Field Summary | |
---|---|
(package private) List |
elementNames
List with local names. |
(package private) String |
errors
Stores the invalid local names if any, otherwise null. |
(package private) String |
namespace
The namespace name for the local element names. |
Constructor Summary | |
---|---|
Trigger(String namespace,
String nameList)
Creates a trigger to store the elements that break sections for a given namespace. |
Method Summary | |
---|---|
(package private) boolean |
trigger(String ns,
String name,
String parent)
Checks trigger activation given an element name and its parent, both from the same namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
String namespace
List elementNames
String errors
Constructor Detail |
---|
Trigger(String namespace, String nameList)
namespace
- The namespacenameList
- A space separated list of local names.Method Detail |
---|
boolean trigger(String ns, String name, String parent)
ns
- The namespace for the elements.name
- The current element local name.parent
- The parent element local name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |