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
- See Also:
- Constant Field Values
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
EXTENDS
public static final int EXTENDS
- See Also:
- Constant Field Values
IMPLEMENTS
public static final int IMPLEMENTS
- See Also:
- Constant Field Values
CLASS
public static final int CLASS
- See Also:
- Constant Field Values
PRINT
public static final int PRINT
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
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()