Package systems.dmx.core.service
Class Directives
- java.lang.Object
-
- systems.dmx.core.service.Directives
-
- All Implemented Interfaces:
Iterable<Directives.Entry>
public class Directives extends Object implements Iterable<Directives.Entry>
Note: Directives is notJSONEnabled
as the underlying structure is a list, not an object. There is atoJSONArray()
method though.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Directives.Entry
-
Constructor Summary
Constructors Constructor Description Directives()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Directive dir, JSONEnabled arg)
void
clear()
static Directives
get()
Iterator<Directives.Entry>
iterator()
static void
remove()
org.codehaus.jettison.json.JSONArray
toJSONArray()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public void add(Directive dir, JSONEnabled arg)
-
clear
public void clear()
-
toJSONArray
public org.codehaus.jettison.json.JSONArray toJSONArray()
-
get
public static Directives get()
-
remove
public static void remove()
-
iterator
public Iterator<Directives.Entry> iterator()
- Specified by:
iterator
in interfaceIterable<Directives.Entry>
-
-