public class SingleType extends Object
A single type defines a type the a single item can have. It consists of an atomic type and a optional interrogation that, when present indicates that the item can also be the empty sequence.
Constructor and Description |
---|
SingleType(String atomic,
boolean mIntero)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Type |
getAtomic()
Gets the atomic type.
|
boolean |
hasInterogation()
Specifies, whether interrogation sign is present and therefore the empty
sequence is valid too.
|
public SingleType(String atomic, boolean mIntero) throws TTXPathException
atomic
- string representation of the atomic valuemIntero
- true, if interrogation sign is presentTTXPathException
public Type getAtomic()
public boolean hasInterogation()
Copyright © 2013. All Rights Reserved.