John W. Campbell
This object is used to store a token string (and lead string) from an XML
structured file.
Class, fields, constructor and methods:
Class Details
Accessible Fields
Constructor
- Package:
- Jdl.JdlLib;
- Class name:
- JdlXMLTokenString
- Class definition:
- public class JdlXMLTokenString
- Extends:
- Object
- Implements:
- none
- Actions:
- none
The following accessible fields have been defined:
- public int token_type
- The token/string type: 0 = no token found, 1 = start token <name...>,
2 = end token </name...>, 3 = empty token <name.../> (-1 = incomplete
token string (premature end of file))
- public String token_string
- The trimmed token string (may be null if file ends with a string
rather than a token)
- public String lead_string
- A lead string if found; null if no lead string; will also be
returned if the file ends with a string rather than a token)
- public String token_name
- The token name (null if type==0 or no token name found).
A single constructor is available.
Constructor:
Standard constructor
Constructs a JdlXMLTokenString object with the default 'unset' values.
- Constructor Definition:
- public JdlXMLTokenString()
- Parameters List:
- none
⇑ Up 2
⇑ Up 1
⇑ Top of this