
public final class ClauseParameters extends Object
ClauseParameters class.
for construction| Modifier and Type | Class and Description |
|---|---|
static class |
ClauseParameters.ClauseParameter |
| Modifier and Type | Field and Description |
|---|---|
static ClauseParameters |
EMPTY_PARAMETERS
Empty parameters, immutably so
|
| Constructor and Description |
|---|
ClauseParameters()
Constructor for ClauseParameters.
|
ClauseParameters(Map<String,String> attributes,
Map<String,String> directives)
Constructor for ClauseParameters.
|
| Modifier and Type | Method and Description |
|---|---|
Appendable |
appendTo(Appendable appendix)
appendTo.
|
String |
attribute(String name)
attribute.
|
ClauseParameters |
attribute(String key,
String value)
attribute.
|
String |
attributeOrDefault(String name,
String defaultValue)
attributeOrDefault.
|
Map<String,String> |
attributes()
attributes.
|
ClauseParameters |
directive(String key,
String value)
directive.
|
Map<String,String> |
directives()
directives.
|
boolean |
equals(ClauseParameters that)
equals.
|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isEmpty()
isEmpty.
|
String |
toString() |
public static final ClauseParameters EMPTY_PARAMETERS
public ClauseParameters()
Constructor for ClauseParameters.
public ClauseParameters(Map<String,String> attributes, Map<String,String> directives)
Constructor for ClauseParameters.
attributes - a Map object.directives - a Map object.ClauseParameters.ClauseParameter.attribute(String, String),
ClauseParameters.ClauseParameter.directive(String, String),
ClauseParameters.ClauseParameter.attribute(String, String),
ClauseParameters.ClauseParameter.directive(String, String)public boolean equals(ClauseParameters that)
equals.
that - a ClauseParameters object.public boolean isEmpty()
isEmpty.
public ClauseParameters directive(String key, String value)
directive.
key - a String object.value - a String object.ClauseParameters object.public ClauseParameters attribute(String key, String value)
attribute.
key - a String object.value - a String object.ClauseParameters object.public Appendable appendTo(Appendable appendix) throws IOException
appendTo.
appendix - a Appendable object.Appendable object.IOException - if any.public String attributeOrDefault(String name, String defaultValue)
attributeOrDefault.
Copyright © 2018 earcam. All rights reserved.