-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
215 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
153 changes: 153 additions & 0 deletions
153
src/main/java/org/zumult/objects/implementations/EXBTranscript.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
/* | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template | ||
*/ | ||
package org.zumult.objects.implementations; | ||
|
||
import org.w3c.dom.Document; | ||
import org.w3c.dom.Element; | ||
import org.w3c.dom.NodeList; | ||
import org.zumult.objects.MetadataKey; | ||
import org.zumult.objects.TokenFilter; | ||
import org.zumult.objects.TokenList; | ||
import org.zumult.objects.Transcript; | ||
|
||
/** | ||
* | ||
* @author bernd | ||
*/ | ||
// new for #223 | ||
public class EXBTranscript extends AbstractXMLObject implements Transcript { | ||
|
||
public EXBTranscript(Document xmlDocument) { | ||
super(xmlDocument); | ||
} | ||
|
||
public EXBTranscript(String xmlString) { | ||
super(xmlString); | ||
} | ||
|
||
|
||
|
||
@Override | ||
public int getNumberOfTokens() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public int getNumberOfTypes() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public double getStartTime() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public double getEndTime() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public double getTimeForID(String id) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public Transcript getPart(String id1, String id2, boolean expandToFullAnnotationBlock) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public Transcript getPart(double time1, double time2, boolean expandToFullAnnotationBlock) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public TokenList getTokenList(String type) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public TokenList getTokenList(String type, TokenFilter filter) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public Element getElementById(String id) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public NodeList getTokensByPOS(String pos) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public NodeList getAllTokens() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public Document getXmlDocument() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public NodeList getAnchorsByAttribute(String attribute) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public NodeList getAnnotationBlocksBySpeaker(String speaker) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getSpeakerInitialsBySpeakerID(String speakerID) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getSpeakerIDBySpeakerInitials(String speakerInitials) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getAnnotationBlockID(String annotationBlockID, int distance) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getFirstAnnotationBlockIDForTime(double time) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public void removeAnnotations() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getLanguage() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public void setTimelineToZero() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
|
||
@Override | ||
public String getID() { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
@Override | ||
public String getMetadataValue(MetadataKey key) { | ||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody | ||
} | ||
|
||
} |