2.6.5 - XML Token string - JdlXMLTokenString

John W. Campbell

2.6.5.1 Introduction

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

2.6.5.2 Class Details

Package:
Jdl.JdlLib;
Class name:
JdlXMLTokenString
Class definition:
public class JdlXMLTokenString
Extends:
Object
Implements:
none
Actions:
none

2.6.5.3 Accessible Fields

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).

2.6.5.4 Constructor

2.6.5.4.1 Introduction

A single constructor is available.

Constructor:

Standard constructor

2.6.5.4.2 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