|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.quasiliteral.astro.BaseSchema
Untamed: The default implementation (and default superclass) for implementing AstroSchema simply, starting with an array of tag names.
XXX Need to work on the passability of this class
| Field Summary | |
static AstroSchema |
MINIMAL
Enabled: |
private static String[] |
MinimalTagNames
|
private AstroTag[] |
myByTagCode
Indexed by tag (a short) |
private ConstMap |
myByTagName
String (not Twine) => AstroTag |
private AstroTag |
myLiteralCharTag
|
private AstroTag |
myLiteralFloat64Tag
|
private AstroTag |
myLiteralIntegerTag
|
private AstroTag |
myLiteralStringTag
|
private String |
mySchemaName
For diagnostic purposes only, but included in canonical state. |
private ConstList |
myTagNames
|
(package private) static long |
serialVersionUID
|
| Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
| Constructor Summary | |
BaseSchema(String schemaName,
ConstList tagNames)
Enabled: The literal tag names default to their canonical names |
|
BaseSchema(String schemaName,
ConstList tagNames,
String literalCharTagName,
String literalIntegerTagName,
String literalFloat64TagName,
String literalStringTagName)
Enabled: |
|
| Method Summary | |
AstroTag |
getLiteralCharTag()
Enabled: |
AstroTag |
getLiteralFloat64Tag()
Enabled: |
AstroTag |
getLiteralIntegerTag()
Enabled: |
AstroTag |
getLiteralStringTag()
Enabled: |
AstroTag |
getOptTagForCode(short optTagCode)
Enabled: |
AstroTag |
getOptTagForName(String tagName)
Enabled: |
AstroTag |
getOptTypeTag(Class clazz)
Enabled: |
String |
getSchemaName()
Enabled: |
AstroTag |
getTagForCode(short tagCode)
Enabled: |
AstroTag |
getTypeTag(Class clazz)
Enabled: |
AstroTag |
obtainTagForName(String tagName)
Enabled: |
String |
toString()
Suppressed: |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
private static final String[] MinimalTagNames
public static final AstroSchema MINIMAL
private final String mySchemaName
private final ConstList myTagNames
private final AstroTag[] myByTagCode
private final ConstMap myByTagName
private AstroTag myLiteralCharTag
private AstroTag myLiteralIntegerTag
private AstroTag myLiteralFloat64Tag
private AstroTag myLiteralStringTag
| Constructor Detail |
public BaseSchema(String schemaName,
ConstList tagNames)
public BaseSchema(String schemaName,
ConstList tagNames,
String literalCharTagName,
String literalIntegerTagName,
String literalFloat64TagName,
String literalStringTagName)
| Method Detail |
public String toString()
toString in class Objectpublic String getSchemaName()
getSchemaName in interface AstroSchemapublic AstroTag getOptTagForCode(short optTagCode)
getOptTagForCode in interface AstroSchemapublic AstroTag getTagForCode(short tagCode)
getTagForCode in interface AstroSchemapublic AstroTag getOptTagForName(String tagName)
getOptTagForName in interface AstroSchemapublic AstroTag obtainTagForName(String tagName)
obtainTagForName in interface AstroSchemapublic AstroTag getLiteralCharTag()
getLiteralCharTag in interface AstroSchemapublic AstroTag getLiteralIntegerTag()
getLiteralIntegerTag in interface AstroSchemapublic AstroTag getLiteralFloat64Tag()
getLiteralFloat64Tag in interface AstroSchemapublic AstroTag getLiteralStringTag()
getLiteralStringTag in interface AstroSchemapublic AstroTag getOptTypeTag(Class clazz)
getOptTypeTag in interface AstroSchemapublic AstroTag getTypeTag(Class clazz)
getTypeTag in interface AstroSchema
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||