public abstract class OptionElement extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OptionElement.Kind |
Constructor and Description |
---|
OptionElement() |
Modifier and Type | Method and Description |
---|---|
static OptionElement |
create(String name,
OptionElement.Kind kind,
Object value) |
static OptionElement |
create(String name,
OptionElement.Kind kind,
Object value,
boolean isParenthesized) |
abstract boolean |
isParenthesized() |
abstract OptionElement.Kind |
kind() |
abstract String |
name() |
String |
toSchema() |
String |
toSchemaDeclaration() |
abstract Object |
value() |
public static OptionElement create(String name, OptionElement.Kind kind, Object value)
public static OptionElement create(String name, OptionElement.Kind kind, Object value, boolean isParenthesized)
public abstract String name()
public abstract OptionElement.Kind kind()
public abstract Object value()
public abstract boolean isParenthesized()
public final String toSchema()
public final String toSchemaDeclaration()
Copyright © 2013–2016 Square, Inc.. All rights reserved.