> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: PHXRowFieldRange

**Package:**

* `com.phoenix_int.aserver.util.scriptwrapper.api`

**Class Hierarchy**

```text theme={null}
↳ java.lang.Object
  ↳ com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldRange
```

**Implemented Interfaces**

* [IPHXRange](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/IPHXRange.md)

***

**Declaration**

```java theme={null}
public class PHXRowFieldRange
extends java.lang.Object
implements IPHXRange
```

## Field Summary

| Modifier and Type | Field and Description |
| - | - |
| `static java.lang.String` | `NAME_SEPARATOR` |
| `static java.lang.String` | `RANGE_SEPARATOR` |

## Constructor Summary

| Constructor and Description |
| - |
| `PHXRowFieldRange()` |
| `PHXRowFieldRange(java.lang.String str)` |
| `PHXRowFieldRange(java.lang.String start, java.lang.String end)` |
| `PHXRowFieldRange(java.lang.String pageName, int row)` |
| `PHXRowFieldRange(java.lang.String pageName, int row, int field)` |
| `PHXRowFieldRange(java.lang.String pageName, java.lang.String parent, int startRow)` |
| `PHXRowFieldRange(java.lang.String pageName, java.lang.String parent, java.lang.String startMark, int startOccurrence)` |
| `PHXRowFieldRange(java.lang.String pageName, java.lang.String startRow, java.lang.String endRow)` |
| `PHXRowFieldRange(java.lang.String pageName, java.lang.String parent, java.lang.String start, java.lang.String end)` |
| `PHXRowFieldRange(java.lang.String pageName, java.lang.String startRow, java.lang.String endRow, java.lang.String startCol, java.lang.String endCol)` |

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `int` | `absoluteEndRow(`[`IPHXLineStore`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/IPHXLineStore)` lines, java.util.Vector bookmarks, java.util.Vector sections)` |
| `int` | `absoluteStartRow(`[`IPHXLineStore`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/IPHXLineStore)` lines, java.util.Vector bookmarks, java.util.Vector sections)` Returns the actual starting row number |
| `void` | `assertEquals(`[`IPHXRange`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/IPHXRange)` other)` Test comparison function. |
| `void` | `clearEndingMark()` |
| `void` | `clearStartingMark()` |
| `void` | `fromString(java.lang.String str)` |
| `int` | `getAbsoluteStartRow()` Returns the stored starting row number, assuming it has been stored. |
| `java.lang.String` | `getDelimiters()` |
| `java.lang.String` | `getEnd()` |
| `int` | `getEndCol()` |
| `java.lang.String` | `getEndMark()` |
| `int` | `getEndOccurrence()` |
| `int` | `getEndOffset()` |
| `java.lang.String` | `getEndParent()` |
| `int` | `getEndRow()` |
| `int` | `getNumDimensions()` |
| `int` | `getNumDimensions(java.lang.String fformat)` |
| `java.lang.String` | `getPageName()` |
| `java.lang.String` | `getParent()` |
| `java.lang.String` | `getRowColString()` |
| `java.lang.String` | `getStart()` |
| `java.lang.String` | `getStart(boolean addEscapes)` |
| `int` | `getStartCol()` |
| `java.lang.String` | `getStartMark()` |
| `int` | `getStartOccurrence()` |
| `int` | `getStartOffset()` |
| `int` | `getStartRow()` |
| `boolean` | `isArray()` |
| `boolean` | `isColArray()` |
| `boolean` | `isHorizontallyResizable()` |
| `boolean` | `isRowArray()` |
| `void` | `setAbsoluteStartRow(int row)` Sets the stored starting row number. |
| `void` | `setDelimiters(java.lang.String delim)` |
| `void` | `setEndingCol(int col)` |
| `void` | `setEndingMark(java.lang.String mark, int occurrence, int offset)` |
| `void` | `setEndingRow(int row)` |
| `void` | `setEndParent(java.lang.String parent)` |
| `void` | `setPageName(java.lang.String pageName)` |
| `void` | `setParent(java.lang.String parent)` |
| `void` | `setStartingCol(int col)` |
| `void` | `setStartingMark(java.lang.String mark, int occurrence, int offset)` |
| `void` | `setStartingRow(int row)` |
| `static java.util.Vector<java.lang.String>` | `split(java.lang.String rangeStrings)` Splits a multi-range string into individual range strings. |
| `java.lang.String` | `toString()` |
| `java.lang.String` | `toString(boolean showPageName)` |

### Methods inherited from class java.lang.Object

`clone`, `equals`, `finalize`, `getClass`, `hashCode`, `notify`, `notifyAll`, `wait`, `wait`, `wait`

## Field Detail

### RANGE\_SEPARATOR

```java theme={null}
public static final java.lang.String RANGE_SEPARATOR
```

**See Also:**

* [Constant Field Values](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/constant-values.md)

### NAME\_SEPARATOR

```java theme={null}
public static final java.lang.String NAME_SEPARATOR
```

**See Also:**

* [Constant Field Values](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/constant-values.md)

## Constructor Detail

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange()
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String str)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String start, 
                        java.lang.String end)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        java.lang.String parent, 
                        java.lang.String start, 
                        java.lang.String end)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        int row)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        int row, 
                        int field)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        java.lang.String parent, 
                        int startRow)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        java.lang.String parent, 
                        java.lang.String startMark, 
                        int startOccurrence)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        java.lang.String startRow, 
                        java.lang.String endRow)
```

### PHXRowFieldRange

```java theme={null}
public PHXRowFieldRange(java.lang.String pageName, 
                        java.lang.String startRow, 
                        java.lang.String endRow, 
                        java.lang.String startCol, 
                        java.lang.String endCol)
```

# Method Detail

### generate

```java theme={null}
public void generate()
              throws java.io.IOException,
                     com.phoenix_int.aserver.util.PHXInvalidFormatException,
                     PHXNoSuchTokenException,
                     java.lang.IllegalAccessException,
                     java.lang.InstantiationException,
                     PHXNumberFormatException,
                     PHXBookmarkNotFoundException,
                     PHXSectionNotFoundException,
                     com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException
```

Generate the input file

**Specified by:**

* `generate` in interface [`InputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/InputFile)

**Throws:**

* `java.io.IOException`
* `com.phoenix_int.aserver.util.PHXInvalidFormatException`
* [`PHXNoSuchTokenException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/PHXNoSuchTokenException)
* `java.lang.IllegalAccessException`
* `java.lang.InstantiationException`
* [`PHXNumberFormatException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXNumberFormatException)
* [`PHXBookmarkNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXBookmarkNotFoundException)
* [`PHXSectionNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXSectionNotFoundException)
* `com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException`

### setFileToGenerate

```java theme={null}
public void setFileToGenerate(java.lang.String fileName)
```

Set the file to be generated

**Specified by:**

* `setFileToGenerate` in interface [`InputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/InputFile)

**Parameters:**

* `fileName` - file name

### parse

```java theme={null}
public void parse()
           throws java.io.IOException,
                  com.phoenix_int.aserver.util.PHXInvalidFormatException,
                  PHXNoSuchTokenException,
                  java.lang.IllegalAccessException,
                  java.lang.InstantiationException,
                  PHXNumberFormatException,
                  PHXBookmarkNotFoundException,
                  PHXSectionNotFoundException,
                  com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException
```

Parse the output file

**Specified by:**

* `parse` in interface [`OutputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/OutputFile)
* `parse` in interface [`OutputFile2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/OutputFile2)

**Throws:**

* `java.io.IOException`
* `com.phoenix_int.aserver.util.PHXInvalidFormatException`
* [`PHXNoSuchTokenException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/PHXNoSuchTokenException)
* `java.lang.IllegalAccessException`
* `java.lang.InstantiationException`
* [`PHXNumberFormatException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXNumberFormatException)
* [`PHXBookmarkNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXBookmarkNotFoundException)
* [`PHXSectionNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXSectionNotFoundException)
* `com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException`

### setFileToParse

```java theme={null}
public void setFileToParse(java.lang.String fileName)
```

Set the file to be parsed

**Specified by:**

* `setFileToParse` in interface [`OutputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/OutputFile)
* `setFileToParse` in interface [`OutputFile2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/OutputFile2)

**Parameters:**

* `fileName` - file name

### newParser

```java theme={null}
protected Parser newParser(java.io.File rFile, 
                           Parser.Mode pmode)
                    throws java.io.IOException
```

Generate a new parser for the given file and mode

**Specified by:**

* `newParser` in class [`AbstractFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/AbstractFile)

**Parameters:**

* `rFile` - The file to open
* `pmode` - caching mode for underlying parser

**Throws:**

* `java.io.IOException`

### ensureFileParser

```java theme={null}
protected void ensureFileParser(ParseableFile.Mode mode)
    throws java.io.IOException
```

Ensure there is a valid parser

**Overrides:**

* `ensureFileParser` in class [`AbstractFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/AbstractFile)

**Parameters:**

* `mode` - parser mode in current context

**Throws:**

* `java.io.IOException`

### defineSection

```java theme={null}
public void defineSection(java.lang.String name, 
                          java.lang.String start, 
                          java.lang.String end, 
                          java.lang.String delimiters)
                   throws com.phoenix_int.aserver.util.PHXNoSuchBookmarkException
```

**Throws:**

* `com.phoenix_int.aserver.util.PHXNoSuchBookmarkException`

### defineBookmark

```java theme={null}
public void defineBookmark(java.lang.String name, 
                           java.lang.String parent, 
                           java.lang.String start)
```

### defineVar

```java theme={null}
public void defineVar(java.lang.String name, 
                      java.lang.String type, 
                      boolean isInput, 
                      java.lang.String rangeStr)
               throws PHXNameAlreadyInUseException, 
                      PHXInvalidNameException, 
                      PHXInvalidTypeException
```

**Throws:**

* [`PHXNameAlreadyInUseException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXNameAlreadyInUseException)
* [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXInvalidNameException)
* [`PHXInvalidTypeException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXInvalidTypeException)

### defineVar

```java theme={null}
public void defineVar(java.lang.String name, 
                      java.lang.String type, 
                      boolean isInput, 
                      java.lang.String rangeStr, 
                      java.lang.String units, 
                      java.lang.String description, 
                      java.lang.String lowerBound, 
                      java.lang.String upperBound, 
                      java.lang.String enumValues, 
                      java.lang.String enumAliases, 
                      java.lang.String format)
               throws PHXNameAlreadyInUseException, 
                      PHXInvalidNameException, 
                      PHXInvalidTypeException
```

**Throws:**

* [`PHXNameAlreadyInUseException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXNameAlreadyInUseException)
* [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXInvalidNameException)
* [`PHXInvalidTypeException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXInvalidTypeException)

### defineVar

```java theme={null}
public void defineVar(java.lang.String name, 
                      java.lang.String type, 
                      boolean isInput, 
                      java.lang.String rangesStr, 
                      java.lang.String units, 
                      java.lang.String description, 
                      java.lang.String lowerBound, 
                      java.lang.String upperBound, 
                      java.lang.String enumValues, 
                      java.lang.String enumAliases, 
                      java.lang.String format, 
                      java.lang.String fformat)
               throws PHXNameAlreadyInUseException, 
                      PHXInvalidNameException, 
                      PHXInvalidTypeException
```

**Throws:**

* [`PHXNameAlreadyInUseException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXNameAlreadyInUseException)
* [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/PHXInvalidNameException)
* [`PHXInvalidTypeException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXInvalidTypeException)

### transferVars

```java theme={null}
protected void transferVars(ParseableFile.Mode mode)
                     throws java.io.IOException,
                            com.phoenix_int.aserver.util.PHXInvalidFormatException,
                            PHXNoSuchTokenException,
                            java.lang.IllegalAccessException,
                            java.lang.InstantiationException,
                            PHXNumberFormatException,
                            PHXBookmarkNotFoundException,
                            PHXSectionNotFoundException,
                            com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException
```

Note that if wrapper is null, variable collection should be empty, and there should be no harm in calling this method

Transfer values for variables that have been defined using methods from the concrete implementation, i.e. [`defineVar(String, String, boolean, String)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXRowFieldFile)

Variables defined using [`PHXScriptWrapperObject.addVariable(String, String, boolean)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXScriptWrapperObject) must be explicitly transferred using methods of the concrete implementation class

**Specified by:**

* `transferVars` in class [`AbstractFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/AbstractFile)

**Throws:**

* `java.io.IOException`
* `com.phoenix_int.aserver.util.PHXInvalidFormatException`
* [`PHXNoSuchTokenException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/PHXNoSuchTokenException)
* `java.lang.IllegalAccessException`
* `java.lang.InstantiationException`
* [`PHXNumberFormatException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/types/PHXNumberFormatException)
* [`PHXBookmarkNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXBookmarkNotFoundException)
* [`PHXSectionNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/2026-r1/com/phoenix_int/aserver/util/scriptwrapper/api/PHXSectionNotFoundException)
* `com.phoenix_int.aserver.util.scriptwrapper.api.PHXRowFieldOutOfFileException`
