|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.schema.TagList
public class TagList
Processes and manipulates lists of ASN.1 tags.
| Field Summary | |
|---|---|
static java.lang.String |
EMPTY
|
| Constructor Summary | |
|---|---|
TagList(java.lang.String s)
Parse a list of ASN.1 tags. |
|
TagList(Tag[] tags)
Constructor for TagList with a list of ASN.1 tags parameter. |
|
| Method Summary | |
|---|---|
Tag |
getLastTag()
Gets a list of ASN.1 tags, possibly empty. |
java.util.Iterator |
getReverseTags()
Optimization. |
java.util.Iterator |
getTags()
Optimization. |
boolean |
isConstructed()
Determines whether an ASN.1 tag is contructed (not primitive). |
boolean |
isContextSpecific()
Determines whether a tag is not primitive, but a context specific tag. |
boolean |
isEmpty()
Determines whether or not a list of ASN.1 tags is empty. |
boolean |
isPrimitive()
Determines whether or not an ASN.1 tag is primitive (not constructed). |
boolean |
matches(java.io.InputStream in)
Match each tag in this list against the data in the input stream and return true if all of the tags were found in the stream. |
java.lang.String |
toString()
Determines whether or not a string has any content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EMPTY
| Constructor Detail |
|---|
public TagList(java.lang.String s)
throws java.text.ParseException
s - a string of ASN.1 tags
java.text.ParseExceptionpublic TagList(Tag[] tags)
TagList with a list of ASN.1 tags parameter.
tags - a list of ASN.1 tags| Method Detail |
|---|
public java.util.Iterator getTags()
public Tag getLastTag()
null
public boolean matches(java.io.InputStream in)
throws java.io.IOException
in - the input stream of data
boolen true or false
java.io.IOExceptionpublic boolean isContextSpecific()
boolean true or falsepublic boolean isPrimitive()
boolen true or falsepublic boolean isConstructed()
boolen true or falsepublic boolean isEmpty()
boolen true or falsepublic java.lang.String toString()
toString in class java.lang.Objectnull,
otherwise return the "?" character.public java.util.Iterator getReverseTags()
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||