All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.antsr.core.Protocol | +----edu.utah.janos.antsr.core.BuiltinProtocol
Summary |
class BuiltinProtocol extends edu.utah.janos.antsr.core.Protocol { // Constructors 1 public BuiltinProtocol(); // Methods 3 protected void addCapsule(String) throws Exception; protected void addCapsule(String, String) throws Exception; boolean builtin(); }
Base class for all builtin protocols. Builtin protocols are not demand loaded and are known by "well-defined" names.
Package access only.
Cross Reference |
Constructors |
· BuiltinProtocol | Summary | Top |
public BuiltinProtocol()
Default constructor
Methods |
· builtin | Summary | Top |
boolean builtin()
Override Protocol's builtin to flag this class as a builtin.
- Overrides:
- builtin in class Protocol
· addCapsule | Summary | Top |
protected void addCapsule(String name, String version) throws Exception
Builtin protocols must use this version of addCapsule. This versions uses the given version string to generate the MD5 hash for the code ID. (Thus, the version of a builtin protocol is not tied to the actual code.)
Each builtin protocol class has a version string associated with it. See, for example, DataCapsule.
See Also: VERSION
· addCapsule | Summary | Top |
protected void addCapsule(String name) throws Exception
Builtin protocols should never call this version of addCapsule.
- Overrides:
- addCapsule in class Protocol
See Also: addCapsule
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7