All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.pagecompile.Segment

java.lang.Object
   |
   +----org.w3c.jigsaw.pagecompile.Segment

public class Segment
extends Object

Variable Index

 o CLASS
 o CODE
 o EXTENDS
 o IMPLEMENTS
 o IMPORT
 o PRINT
 o TEXT

Method Index

 o getDefaultType()
get the default type.
 o getSegmentMatching(Segment[], int)
Get the segments with the same type.
 o getType()
 o getType(String)
get the type relative to the given String.

Variables

 o CODE
 public static final int CODE
 o IMPORT
 public static final int IMPORT
 o EXTENDS
 public static final int EXTENDS
 o IMPLEMENTS
 public static final int IMPLEMENTS
 o CLASS
 public static final int CLASS
 o PRINT
 public static final int PRINT
 o TEXT
 public static final int TEXT

Methods

 o getDefaultType
 public static int getDefaultType()
get the default type.

Returns:
an int.
 o getSegmentMatching
 public static Segment[] getSegmentMatching(Segment segments[],
                                            int type)
Get the segments with the same type.

Parameters:
segments - an array of Segment.
type - the type
Returns:
an array of Segment.
 o getType
 public static int getType(String type)
get the type relative to the given String.

Parameters:
type - The String type.
Returns:
an int.
 o getType
 public int getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index