|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.codec.Encoder
schemajic.encoder.BXEREncoder
schemajic.codec.Printer
public class Printer
Pretty-prints an ASN.1 value using an enhanced BXER format that extends the ASN.1 XML Encoding rules for benefit of a human markup reader.
| Field Summary |
|---|
| Fields inherited from class schemajic.encoder.BXEREncoder |
|---|
_binaryFormat, _buffer, _currentSchema, _curXmlFormat, _gtFormat, _output, _type, _useNamedIntegers |
| Constructor Summary | |
|---|---|
Printer()
|
|
| Method Summary | |
|---|---|
static void |
println(ASN1Value v)
|
java.lang.Object |
visit(ASN1ObjectIdentifier value,
java.lang.Object object)
We always encode the value of an OBJECT-IDENTIFIER using the XMLNumberForm ( dot notation ). |
| Methods inherited from class schemajic.encoder.BXEREncoder |
|---|
createXmlWriter, encode, printArcs, printDefaultValue, setUseNamedIntegers, setWriteProlog, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, writeProlog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Printer()
| Method Detail |
|---|
public static void println(ASN1Value v)
throws EncodingException
EncodingException
public java.lang.Object visit(ASN1ObjectIdentifier value,
java.lang.Object object)
throws VisitorException
Since this is a NON-XER compliant pretty print version of BXER we add comments to include the arc names if present (e.g., known to this toolkit).
visit in interface ValueVisitorvisit in class BXEREncodervalue - a value of ASN.1 type OBJECT IDENTIFIER in its encoded formobject - visit an object of ASN.1 type OBJECT IDENTIFIER
VisitorException
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||