public class SetType extends Type
| Modifier and Type | Class and Description |
|---|---|
static class |
SetType.Choice
Holder for valid values for EnumType
|
DEFAULT_PRESENCE| Constructor and Description |
|---|
SetType(Node node)
Construct a new SetType from XML Schema.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<SetType.Choice> |
choices()
The collection of possible
SetType.Choice values for a bitset. |
PrimitiveType |
encodingType()
The encoding type of the bitset to be used on the wire.
|
SetType.Choice |
getChoice(PrimitiveValue value)
Get the
SetType.Choice represented by a PrimitiveValue. |
SetType.Choice |
getChoice(String name)
Get the
SetType.Choice represented by a String name. |
int |
size()
The size (in octets) of the encodingType
|
description, name, presence, semanticTypepublic SetType(Node node) throws XPathExpressionException, IllegalArgumentException
node - from the XML Schema ParsingXPathExpressionException - on invalid XPath.IllegalArgumentException - on illegal encoding type.public PrimitiveType encodingType()
public int size()
public SetType.Choice getChoice(PrimitiveValue value)
SetType.Choice represented by a PrimitiveValue.value - to getSetType.Choice represented by a PrimitiveValue or null if not found.public SetType.Choice getChoice(String name)
SetType.Choice represented by a String name.name - to getSetType.Choice represented by a String name or null if not found.public Collection<SetType.Choice> choices()
SetType.Choice values for a bitset.SetType.Choice values for a bitset.Copyright © 2013 Real Logic Ltd. All Rights Reserved.