org.w3c.jigsaw.pagecompile
Class Segment
java.lang.Object
|
+--org.w3c.jigsaw.pagecompile.Segment
- public class Segment
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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(java.lang.String type)
- get the type relative to the given String.
- Parameters:
type
- The String type.- Returns:
- an int.
getType
public int getType()