|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Tag
spki Tag class.
Formal definitions:
<tag-star>:: "(*)" ;
<tag-expr>:: <tag-star> | <s-expr> ;
<tag>:: "(" "tag" <tag-expr>? ")" ;
| Field Summary | |
private static String |
__ME
This class's full name. |
private boolean |
is_wildcard
Is this a wildcard tag? |
static String |
SEXP_NAME
This class S-Expression type name, used by toSExpression() and other methods. |
private SList |
tag_expr
This object's tag-expression, maybe null for empty tag. |
static String |
TAG_STAR
The universal wild-card tag-expression, which will intersect with any tag-expression. |
| Fields inherited from class spki.BaseObj |
__ME,
cache_sexp,
cached_sexp,
DEFAULT_HASH_ALG,
locked,
SEXP_NAME |
| Constructor Summary | |
Tag()
Create an immutable empty Tag object with no tag-expression. |
|
Tag(SExpression sexp)
Create an immutable Tag object from an S-Expression. |
|
Tag(SList tag_expr)
Create an immutable Tag object with the given tag-expression. |
|
| Method Summary | |
SList |
getTagExpr()
Get the tag-expression, if available. |
boolean |
isEmptyTag()
Is this an empty tag? |
boolean |
isWildcardTag()
Is this a wildcard tag? |
private void |
setTagExpr(SList tag_expr)
Store the tag-expression. |
SExpression |
toSExpression()
Build an SExpression representing this object. |
| Methods inherited from class spki.BaseObj |
disableSExpressionCaching,
enableSExpressionCaching,
extractHashAlgId,
getCachedSExpression,
isLocked,
isSListOfType,
lock,
providerToSPKI,
setCachedSExpression,
spkiToProvider,
toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final String __ME
public static final String SEXP_NAME
toSExpression()public static final String TAG_STAR
private boolean is_wildcard
isWildcardTag()private SList tag_expr
getTagExpr(),
setTagExpr(SList)| Constructor Detail |
public Tag()
Tag(SExpression),
Tag(SList)
public Tag(SExpression sexp)
throws SPKIException,
ParseException
Tag(SList),
BaseObj.BaseObj(SExpression)
public Tag(SList tag_expr)
throws SPKIException
tag_expr - the tag-expression to be stored, or null
to create a wildcard tag.Tag(SExpression),
Tag()| Method Detail |
public SExpression toSExpression()
throws SPKIException
public SList getTagExpr()
throws SPKIException
public boolean isWildcardTag()
TAG_STARpublic boolean isEmptyTag()
private void setTagExpr(SList tag_expr)
throws IllegalStateException,
SPKIException
tag_expr - the tag-expression to store.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||