kristal.client
Class SectionType

java.lang.Object
  extended bykristal.client.SectionType

public class SectionType
extends java.lang.Object

This Class describes a Section Structure of KRISTAL.

See Also:
PrimarySectionType, BasicSectionType, UnionSectionType, VirtualSectionType

Field Summary
 boolean hanja
           
 java.lang.String hl_section_value
           
 java.lang.String index_type
           
 java.util.Vector length_list
           
 java.util.Vector offset_list
           
 java.lang.String section_name
           
 java.lang.String section_value
           
 
Constructor Summary
SectionType()
          Constructs a new SectionType object.
SectionType(java.lang.String sec_name, byte[] sec_value)
          Constructs a new SectionType object with its name and encoded value by BASE64.
SectionType(java.lang.String sec_name, java.lang.String sec_value)
          Constructs a new SectionType object with its name and value
 
Method Summary
 java.util.Vector getLengthList()
          Returns the length list in this object.
 java.util.Vector getOffsetList()
          Returns the offset list in this object.
 java.lang.String getSectionName()
          Returns the section name in this object.
 java.lang.String getSectionValue()
          Returns the section value in this object.
 java.lang.String getSectionValue(java.lang.String startTag, java.lang.String endTag)
          Returns the highlighted section value in this object.
 void setLengthList(java.util.Vector length_list)
          Sets the length list of this object.
 void setOffsetList(java.util.Vector offset_list)
          Sets the offset list of this object.
 void setSectionName(java.lang.String section_name)
          Sets the section name of this object.
 void setSectionValue(java.lang.String section_value)
          Sets the section value of this object.
 java.lang.String toString()
          Overrides a parent's toString()
 byte[] trans_binvalue()
          Returns the decoded bytes by BASE64.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

section_name

public java.lang.String section_name

section_value

public java.lang.String section_value

hl_section_value

public java.lang.String hl_section_value

offset_list

public java.util.Vector offset_list

length_list

public java.util.Vector length_list

index_type

public java.lang.String index_type

hanja

public boolean hanja
Constructor Detail

SectionType

public SectionType()
Constructs a new SectionType object.


SectionType

public SectionType(java.lang.String sec_name,
                   java.lang.String sec_value)
Constructs a new SectionType object with its name and value

Parameters:
sec_name - the section name
sec_value - the section value

SectionType

public SectionType(java.lang.String sec_name,
                   byte[] sec_value)
Constructs a new SectionType object with its name and encoded value by BASE64.

Parameters:
sec_name - the section name
sec_value - the section value
Method Detail

toString

public java.lang.String toString()
Overrides a parent's toString()


trans_binvalue

public byte[] trans_binvalue()
Returns the decoded bytes by BASE64.

Returns:
the section value

setSectionName

public void setSectionName(java.lang.String section_name)
Sets the section name of this object.

Parameters:
section_name - the section name

setSectionValue

public void setSectionValue(java.lang.String section_value)
Sets the section value of this object.

Parameters:
section_value - the section value

setOffsetList

public void setOffsetList(java.util.Vector offset_list)
Sets the offset list of this object.

Parameters:
offset_list - the offset list

setLengthList

public void setLengthList(java.util.Vector length_list)
Sets the length list of this object.

Parameters:
length_list - the length list

getSectionName

public java.lang.String getSectionName()
Returns the section name in this object.

Returns:
the section name

getSectionValue

public java.lang.String getSectionValue()
Returns the section value in this object.

Returns:
the section value

getSectionValue

public java.lang.String getSectionValue(java.lang.String startTag,
                                        java.lang.String endTag)
Returns the highlighted section value in this object.

Parameters:
startTag - the start tag
endTag - the end tag
Returns:
the section value

getOffsetList

public java.util.Vector getOffsetList()
Returns the offset list in this object.

Returns:
the offset list

getLengthList

public java.util.Vector getLengthList()
Returns the length list in this object.

Returns:
the length list