ParsedPattern
public class DDataPattern extends DPattern
Modifier and Type | Class | Description |
---|---|---|
class |
DDataPattern.Param |
Parameter to a data pattern.
|
Constructor | Description |
---|---|
DDataPattern() |
Modifier and Type | Method | Description |
---|---|---|
Object |
accept(DPatternVisitor visitor) |
|
String |
getDatatypeLibrary() |
Gets the datatype library URI.
|
DPattern |
getExcept() |
Gets the pattern that reprsents the
<except> child of this data pattern. |
List<DDataPattern.Param> |
getParams() |
Gets the parameters of this <data pattern.
|
String |
getType() |
Gets the datatype name, such as "int" or "token".
|
boolean |
isNullable() |
Returns true if this pattern is nullable.
|
createParseable, getAnnotation, getLocation, isAttribute, isElement
public String getDatatypeLibrary()
public String getType()
public List<DDataPattern.Param> getParams()
public DPattern getExcept()
<except>
child of this data pattern.public boolean isNullable()
DPattern
isNullable
in class DPattern
public Object accept(DPatternVisitor visitor)
Copyright © 2018 Oracle Corporation. All rights reserved.