    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

##

CLASS
CODE
EXTENDS
IMPLEMENTS
IMPORT
PRINT
TEXT

##

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

##

CODE

     public static final int CODE

IMPORT

     public static final int IMPORT

EXTENDS

     public static final int EXTENDS

IMPLEMENTS

     public static final int IMPLEMENTS

CLASS

     public static final int CLASS

PRINT

     public static final int PRINT

TEXT

     public static final int TEXT

##

getDefaultType

     public static int getDefaultType()

  get the default type.

  Returns:
    an int.

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.

getType

     public static int getType(String type)

  get the type relative to the given String.

  Parameters:
    type - The String type.
  Returns:
    an int.

getType

     public int getType()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index