public abstract class Type extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PRESENCE
Default presence attribute for Types
|
| Constructor and Description |
|---|
Type(Node node)
Construct a new Type from XML Schema.
|
Type(String name,
Presence presence,
String description,
String semanticType)
Construct a new Type from direct values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
The description of the Type (if set) or null
|
String |
name()
Return the name of the type
|
Presence |
presence()
Return the presence of the type
|
String |
semanticType()
The semanticType of the Type
|
abstract int |
size()
The size (in octets) of the Type.
|
public static final String DEFAULT_PRESENCE
public Type(Node node)
node - from the XML Schema Parsingpublic String name()
public Presence presence()
public abstract int size()
public String description()
public String semanticType()
Copyright © 2013 Real Logic Ltd. All Rights Reserved.