cfa.vo.iris.sed
Class ExtSed
java.lang.Object
cfa.vo.sedlib.Sed
cfa.vo.iris.sed.ExtSed
- All Implemented Interfaces:
- cfa.vo.sedlib.ISed, Cloneable
public class ExtSed
- extends cfa.vo.sedlib.Sed
- Author:
- olaurino
Fields inherited from class cfa.vo.sedlib.Sed |
namespace, segmentList |
Methods inherited from class cfa.vo.sedlib.Sed |
equals, filterSed, filterSed, filterSed, getNamespace, getNumberOfSegments, getSegment, hashCode, isSetNamespace, read, setNamespace, validate, validate, write, write |
ExtSed
public ExtSed(String id)
ExtSed
public ExtSed(String id,
boolean managed)
addSegment
public void addSegment(cfa.vo.sedlib.Segment segment)
throws cfa.vo.sedlib.common.SedInconsistentException,
cfa.vo.sedlib.common.SedNoDataException
- Specified by:
addSegment
in interface cfa.vo.sedlib.ISed
- Overrides:
addSegment
in class cfa.vo.sedlib.Sed
- Throws:
cfa.vo.sedlib.common.SedInconsistentException
cfa.vo.sedlib.common.SedNoDataException
addSegment
public void addSegment(cfa.vo.sedlib.Segment segment,
int offset)
throws cfa.vo.sedlib.common.SedNoDataException,
cfa.vo.sedlib.common.SedInconsistentException
- Specified by:
addSegment
in interface cfa.vo.sedlib.ISed
- Overrides:
addSegment
in class cfa.vo.sedlib.Sed
- Throws:
cfa.vo.sedlib.common.SedNoDataException
cfa.vo.sedlib.common.SedInconsistentException
addSegment
public void addSegment(List<cfa.vo.sedlib.Segment> segments)
throws cfa.vo.sedlib.common.SedInconsistentException,
cfa.vo.sedlib.common.SedNoDataException
- Specified by:
addSegment
in interface cfa.vo.sedlib.ISed
- Overrides:
addSegment
in class cfa.vo.sedlib.Sed
- Throws:
cfa.vo.sedlib.common.SedInconsistentException
cfa.vo.sedlib.common.SedNoDataException
addSegment
public void addSegment(List<cfa.vo.sedlib.Segment> segments,
int offset)
throws cfa.vo.sedlib.common.SedInconsistentException,
cfa.vo.sedlib.common.SedNoDataException
- Specified by:
addSegment
in interface cfa.vo.sedlib.ISed
- Overrides:
addSegment
in class cfa.vo.sedlib.Sed
- Throws:
cfa.vo.sedlib.common.SedInconsistentException
cfa.vo.sedlib.common.SedNoDataException
removeSegment
public void removeSegment(int i)
- Specified by:
removeSegment
in interface cfa.vo.sedlib.ISed
- Overrides:
removeSegment
in class cfa.vo.sedlib.Sed
getId
public String getId()
setId
public void setId(String id)
addAttachment
public void addAttachment(String attachmentId,
Object attachment)
getAttachment
public Object getAttachment(String attachmentId)
removeAttachment
public void removeAttachment(String attachmentId)
toString
public String toString()
- Overrides:
toString
in class Object
clone
public ExtSed clone()
- Overrides:
clone
in class cfa.vo.sedlib.Sed
remove
public boolean remove(cfa.vo.sedlib.Segment s)
remove
public boolean remove(List<cfa.vo.sedlib.Segment> segments)
indexOf
public int indexOf(cfa.vo.sedlib.Segment s)
read
public static ExtSed read(String filename,
cfa.vo.sedlib.io.SedFormat format)
throws cfa.vo.sedlib.common.SedParsingException,
cfa.vo.sedlib.common.SedInconsistentException,
IOException,
cfa.vo.sedlib.common.SedNoDataException
- Throws:
cfa.vo.sedlib.common.SedParsingException
cfa.vo.sedlib.common.SedInconsistentException
IOException
cfa.vo.sedlib.common.SedNoDataException
read
public static ExtSed read(String filename,
cfa.vo.sedlib.io.SedFormat format,
boolean managed)
throws cfa.vo.sedlib.common.SedParsingException,
cfa.vo.sedlib.common.SedInconsistentException,
IOException,
cfa.vo.sedlib.common.SedNoDataException
- Throws:
cfa.vo.sedlib.common.SedParsingException
cfa.vo.sedlib.common.SedInconsistentException
IOException
cfa.vo.sedlib.common.SedNoDataException
checkChar
public void checkChar()
Copyright © 2013. All rights reserved.