Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.ccdtovcd
Class VideoCD  view VideoCD download VideoCD.java

java.lang.Object
  extended byorg.ccdtovcd.VideoCD
All Implemented Interfaces:
java.io.Serializable

public class VideoCD
extends java.lang.Object
implements java.io.Serializable


Field Summary
private  javax.swing.tree.TreeModel fileSystem
           
private  java.lang.String info_album_id
           
private static java.lang.String info_album_id_DEFAULT_VALUE
           
private  boolean info_next_volume_use_lid2
           
private static boolean info_next_volume_use_lid2_DEFAULT_VALUE
           
private  boolean info_next_volume_use_sequence2
           
private static boolean info_next_volume_use_sequence2_DEFAULT_VALUE
           
private  int info_restriction
           
private static int info_restriction_DEFAULT_VALUE
           
private  int info_volume_count
           
private static int info_volume_count_DEFAULT_VALUE
           
private  int info_volume_number
           
private static int info_volume_number_DEFAULT_VALUE
           
private static java.lang.String namespaceString
           
private  boolean option_leadout_pause
           
private static boolean option_leadout_pause_DEFAULT_VALUE
           
private  boolean option_relaxed_aps
           
private static boolean option_relaxed_aps_DEFAULT_VALUE
           
private  boolean option_svcd_vcd30_entrysvd
           
private static boolean option_svcd_vcd30_entrysvd_DEFAULT_VALUE
           
private  boolean option_svcd_vcd30_mpegav
           
private static boolean option_svcd_vcd30_mpegav_DEFAULT_VALUE
           
private  boolean option_update_scan_offsets
           
private static boolean option_update_scan_offsets_DEFAULT_VALUE
           
private  java.util.Map pbc_items
           
 boolean pbcAllowed
           
private  java.lang.String pvd_application_id
           
private static java.lang.String pvd_application_id_DEFAULT_VALUE
           
private  java.lang.String pvd_preparer_id
           
private static java.lang.String pvd_preparer_id_DEFAULT_VALUE
           
private  java.lang.String pvd_publisher_id
           
private static java.lang.String pvd_publisher_id_DEFAULT_VALUE
           
private  java.lang.String pvd_system_id
           
private static java.lang.String pvd_system_id_DEFAULT_VALUE
           
private  java.lang.String pvd_volume_id
           
private static java.lang.String pvd_volume_id_DEFAULT_VALUE
           
private  java.util.Map segment_items
           
private  java.util.Map sequence_items
           
private  int vcdClass
           
static int vcdClassHQVCD10
           
static int vcdClassSVCD10
           
static int vcdClassVCD10
           
static int vcdClassVCD11
           
static int vcdClassVCD20
           
 
Constructor Summary
VideoCD()
           
VideoCD(int vcdClass)
           
 
Method Summary
 void addPbc_item(PbcItem pbc_item)
           
 void addSegment_item(Segment_item segment_item)
           
 void addSequence_item(Sequence_item sequence_item)
           
static VideoCD buildFromJDOM(org.jdom.Document doc)
           
 org.jdom.Document buildJDOMDocument(boolean maximum)
           
 void deleteAllPbcItems()
           
private  void exportThisNode(org.jdom.Element thisTag, org.jdom.Namespace ns, javax.swing.tree.TreeNode currentNode)
           
private  void exportThisTargetList(boolean maximum, PbcSelection pbcSelection, org.jdom.Element selectionTag, org.jdom.Namespace ns, java.lang.String targetListString)
           
 javax.swing.tree.TreeModel getFileSystem()
           
 java.lang.String getInfo_album_id()
           
 boolean getInfo_next_volume_use_lid2()
           
 boolean getInfo_next_volume_use_sequence2()
           
 int getInfo_restriction()
           
 int getInfo_volume_count()
           
 int getInfo_volume_number()
           
 int getNumberOfEntries()
           
 int getNumberOfSequences()
           
 java.lang.String getPvd_application_id()
           
 java.lang.String getPvd_preparer_id()
           
 java.lang.String getPvd_publisher_id()
           
 java.lang.String getPvd_system_id()
           
 java.lang.String getPvd_volume_id()
           
 java.util.Map getSegment_items()
           
 java.util.Map getSequence_items()
           
 int getVcdClass()
           
private  void initFileSystem()
           
 boolean isInfo_album_id_DEFAULT_VALUE()
           
 boolean isInfo_next_volume_use_lid2_DEFAULT_VALUE()
           
 boolean isInfo_next_volume_use_sequence2_DEFAULT_VALUE()
           
 boolean isInfo_restriction_DEFAULT_VALUE()
           
 boolean isInfo_volume_count_DEFAULT_VALUE()
           
 boolean isInfo_volume_number_DEFAULT_VALUE()
           
 boolean isOption_leadout_pause_DEFAULT_VALUE()
           
 boolean isOption_leadout_pause()
           
 boolean isOption_relaxed_aps_DEFAULT_VALUE()
           
 boolean isOption_relaxed_aps()
           
 boolean isOption_svcd_vcd30_entrysvd_DEFAULT_VALUE()
           
 boolean isOption_svcd_vcd30_entrysvd()
           
 boolean isOption_svcd_vcd30_mpegav_DEFAULT_VALUE()
           
 boolean isOption_svcd_vcd30_mpegav()
           
 boolean isOption_update_scan_offsets_DEFAULT_VALUE()
           
 boolean isOption_update_scan_offsets()
           
 boolean isPbcAllowed()
           
 boolean isPvd_application_id_DEFAULT_VALUE()
           
 boolean isPvd_preparer_id_DEFAULT_VALUE()
           
 boolean isPvd_publisher_id_DEFAULT_VALUE()
           
 boolean isPvd_system_id_DEFAULT_VALUE()
           
 boolean isPvd_volume_id_DEFAULT_VALUE()
           
private static void processFileSystemFolder(javax.swing.tree.DefaultMutableTreeNode treeNode, org.jdom.Element thisDir, org.jdom.Namespace ns)
           
private static void processPbcEndlist(VideoCD videoCD, org.jdom.Element endlistTag, org.jdom.Namespace ns)
           
private static void processPbcPlaylist(VideoCD videoCD, org.jdom.Element playlistTag, org.jdom.Namespace ns)
           
private static void processPbcSelection(VideoCD videoCD, org.jdom.Element selectionTag, org.jdom.Namespace ns)
           
private static void processTargetList(java.lang.Object pbcItem, org.jdom.Element pbcItemTag, java.lang.String targetListString, org.jdom.Namespace ns)
           
 void setFileSystem(javax.swing.tree.TreeModel treeModel)
           
 void setInfo_album_id_DEFAULT_VALUE()
           
 void setInfo_album_id(java.lang.String info_album_id)
           
 void setInfo_next_volume_use_lid2_DEFAULT_VALUE()
           
 void setInfo_next_volume_use_lid2(boolean info_next_volume_use_lid2)
           
 void setInfo_next_volume_use_sequence2_DEFAULT_VALUE()
           
 void setInfo_next_volume_use_sequence2(boolean info_next_volume_use_sequence2)
           
 void setInfo_restriction_DEFAULT_VALUE()
           
 void setInfo_restriction(int info_restriction)
           
 void setInfo_volume_count_DEFAULT_VALUE()
           
 void setInfo_volume_count(int info_volume_count)
           
 void setInfo_volume_number_DEFAULT_VALUE()
           
 void setInfo_volume_number(int info_volume_number)
           
 void setOption_leadout_pause_DEFAULT_VALUE()
           
 void setOption_leadout_pause(boolean option_leadout_pause)
           
 void setOption_relaxed_aps_DEFAULT_VALUE()
           
 void setOption_relaxed_aps(boolean option_relaxed_aps)
           
 void setOption_svcd_vcd30_entrysvd_DEFAULT_VALUE()
           
 void setOption_svcd_vcd30_entrysvd(boolean option_svcd_vcd30_entrysvd)
           
 void setOption_svcd_vcd30_mpegav_DEFAULT_VALUE()
           
 void setOption_svcd_vcd30_mpegav(boolean option_svcd_vcd30_mpegav)
           
 void setOption_update_scan_offsets_DEFAULT_VALUE()
           
 void setOption_update_scan_offsets(boolean option_update_scan_offsets)
           
 void setPvd_application_id_DEFAULT_VALUE()
           
 void setPvd_application_id(java.lang.String pvd_application_id)
           
 void setPvd_preparer_id_DEFAULT_VALUE()
           
 void setPvd_preparer_id(java.lang.String pvd_preparer_id)
           
 void setPvd_publisher_id_DEFAULT_VALUE()
           
 void setPvd_publisher_id(java.lang.String pvd_publisher_id)
           
 void setPvd_system_id_DEFAULT_VALUE()
           
 void setPvd_system_id(java.lang.String pvd_system_id)
           
 void setPvd_volume_id_DEFAULT_VALUE()
           
 void setPvd_volume_id(java.lang.String pvd_volume_id)
           
 void setVcdClass(int vcdClass)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vcdClassVCD10

public static final int vcdClassVCD10
See Also:
Constant Field Values

vcdClassVCD11

public static final int vcdClassVCD11
See Also:
Constant Field Values

vcdClassVCD20

public static final int vcdClassVCD20
See Also:
Constant Field Values

vcdClassSVCD10

public static final int vcdClassSVCD10
See Also:
Constant Field Values

vcdClassHQVCD10

public static final int vcdClassHQVCD10
See Also:
Constant Field Values

namespaceString

private static final java.lang.String namespaceString
See Also:
Constant Field Values

vcdClass

private int vcdClass

pbcAllowed

public boolean pbcAllowed

option_svcd_vcd30_mpegav

private boolean option_svcd_vcd30_mpegav

option_svcd_vcd30_entrysvd

private boolean option_svcd_vcd30_entrysvd

option_relaxed_aps

private boolean option_relaxed_aps

option_update_scan_offsets

private boolean option_update_scan_offsets

option_leadout_pause

private boolean option_leadout_pause

info_album_id

private java.lang.String info_album_id

info_volume_count

private int info_volume_count

info_volume_number

private int info_volume_number

info_next_volume_use_sequence2

private boolean info_next_volume_use_sequence2

info_next_volume_use_lid2

private boolean info_next_volume_use_lid2

info_restriction

private int info_restriction

pvd_volume_id

private java.lang.String pvd_volume_id

pvd_system_id

private java.lang.String pvd_system_id

pvd_application_id

private java.lang.String pvd_application_id

pvd_preparer_id

private java.lang.String pvd_preparer_id

pvd_publisher_id

private java.lang.String pvd_publisher_id

fileSystem

private javax.swing.tree.TreeModel fileSystem

segment_items

private java.util.Map segment_items

sequence_items

private java.util.Map sequence_items

pbc_items

private java.util.Map pbc_items

option_svcd_vcd30_mpegav_DEFAULT_VALUE

private static final boolean option_svcd_vcd30_mpegav_DEFAULT_VALUE
See Also:
Constant Field Values

option_svcd_vcd30_entrysvd_DEFAULT_VALUE

private static final boolean option_svcd_vcd30_entrysvd_DEFAULT_VALUE
See Also:
Constant Field Values

option_relaxed_aps_DEFAULT_VALUE

private static final boolean option_relaxed_aps_DEFAULT_VALUE
See Also:
Constant Field Values

option_update_scan_offsets_DEFAULT_VALUE

private static final boolean option_update_scan_offsets_DEFAULT_VALUE
See Also:
Constant Field Values

option_leadout_pause_DEFAULT_VALUE

private static final boolean option_leadout_pause_DEFAULT_VALUE
See Also:
Constant Field Values

info_album_id_DEFAULT_VALUE

private static final java.lang.String info_album_id_DEFAULT_VALUE
See Also:
Constant Field Values

info_volume_count_DEFAULT_VALUE

private static final int info_volume_count_DEFAULT_VALUE
See Also:
Constant Field Values

info_volume_number_DEFAULT_VALUE

private static final int info_volume_number_DEFAULT_VALUE
See Also:
Constant Field Values

info_next_volume_use_sequence2_DEFAULT_VALUE

private static final boolean info_next_volume_use_sequence2_DEFAULT_VALUE
See Also:
Constant Field Values

info_next_volume_use_lid2_DEFAULT_VALUE

private static final boolean info_next_volume_use_lid2_DEFAULT_VALUE
See Also:
Constant Field Values

info_restriction_DEFAULT_VALUE

private static final int info_restriction_DEFAULT_VALUE
See Also:
Constant Field Values

pvd_volume_id_DEFAULT_VALUE

private static final java.lang.String pvd_volume_id_DEFAULT_VALUE
See Also:
Constant Field Values

pvd_system_id_DEFAULT_VALUE

private static final java.lang.String pvd_system_id_DEFAULT_VALUE
See Also:
Constant Field Values

pvd_application_id_DEFAULT_VALUE

private static final java.lang.String pvd_application_id_DEFAULT_VALUE
See Also:
Constant Field Values

pvd_preparer_id_DEFAULT_VALUE

private static final java.lang.String pvd_preparer_id_DEFAULT_VALUE
See Also:
Constant Field Values

pvd_publisher_id_DEFAULT_VALUE

private static final java.lang.String pvd_publisher_id_DEFAULT_VALUE
See Also:
Constant Field Values
Constructor Detail

VideoCD

public VideoCD()

VideoCD

public VideoCD(int vcdClass)
Method Detail

getVcdClass

public int getVcdClass()

setVcdClass

public void setVcdClass(int vcdClass)

isPbcAllowed

public boolean isPbcAllowed()

isOption_svcd_vcd30_mpegav

public boolean isOption_svcd_vcd30_mpegav()

setOption_svcd_vcd30_mpegav

public void setOption_svcd_vcd30_mpegav(boolean option_svcd_vcd30_mpegav)

isOption_svcd_vcd30_entrysvd

public boolean isOption_svcd_vcd30_entrysvd()

setOption_svcd_vcd30_entrysvd

public void setOption_svcd_vcd30_entrysvd(boolean option_svcd_vcd30_entrysvd)

isOption_relaxed_aps

public boolean isOption_relaxed_aps()

setOption_relaxed_aps

public void setOption_relaxed_aps(boolean option_relaxed_aps)

isOption_update_scan_offsets

public boolean isOption_update_scan_offsets()

setOption_update_scan_offsets

public void setOption_update_scan_offsets(boolean option_update_scan_offsets)

isOption_leadout_pause

public boolean isOption_leadout_pause()

setOption_leadout_pause

public void setOption_leadout_pause(boolean option_leadout_pause)

getInfo_album_id

public java.lang.String getInfo_album_id()

setInfo_album_id

public void setInfo_album_id(java.lang.String info_album_id)

getInfo_volume_count

public int getInfo_volume_count()

setInfo_volume_count

public void setInfo_volume_count(int info_volume_count)

getInfo_volume_number

public int getInfo_volume_number()

setInfo_volume_number

public void setInfo_volume_number(int info_volume_number)

getInfo_next_volume_use_sequence2

public boolean getInfo_next_volume_use_sequence2()

setInfo_next_volume_use_sequence2

public void setInfo_next_volume_use_sequence2(boolean info_next_volume_use_sequence2)

getInfo_next_volume_use_lid2

public boolean getInfo_next_volume_use_lid2()

setInfo_next_volume_use_lid2

public void setInfo_next_volume_use_lid2(boolean info_next_volume_use_lid2)

getInfo_restriction

public int getInfo_restriction()

setInfo_restriction

public void setInfo_restriction(int info_restriction)

getPvd_volume_id

public java.lang.String getPvd_volume_id()

setPvd_volume_id

public void setPvd_volume_id(java.lang.String pvd_volume_id)

getPvd_system_id

public java.lang.String getPvd_system_id()

setPvd_system_id

public void setPvd_system_id(java.lang.String pvd_system_id)

getPvd_application_id

public java.lang.String getPvd_application_id()

setPvd_application_id

public void setPvd_application_id(java.lang.String pvd_application_id)

getPvd_preparer_id

public java.lang.String getPvd_preparer_id()

setPvd_preparer_id

public void setPvd_preparer_id(java.lang.String pvd_preparer_id)

getPvd_publisher_id

public java.lang.String getPvd_publisher_id()

setPvd_publisher_id

public void setPvd_publisher_id(java.lang.String pvd_publisher_id)

getFileSystem

public javax.swing.tree.TreeModel getFileSystem()

setFileSystem

public void setFileSystem(javax.swing.tree.TreeModel treeModel)

getSegment_items

public java.util.Map getSegment_items()

getSequence_items

public java.util.Map getSequence_items()

addSegment_item

public void addSegment_item(Segment_item segment_item)

addSequence_item

public void addSequence_item(Sequence_item sequence_item)

addPbc_item

public void addPbc_item(PbcItem pbc_item)

deleteAllPbcItems

public void deleteAllPbcItems()

getNumberOfSequences

public int getNumberOfSequences()

getNumberOfEntries

public int getNumberOfEntries()

isOption_svcd_vcd30_mpegav_DEFAULT_VALUE

public boolean isOption_svcd_vcd30_mpegav_DEFAULT_VALUE()

setOption_svcd_vcd30_mpegav_DEFAULT_VALUE

public void setOption_svcd_vcd30_mpegav_DEFAULT_VALUE()

isOption_svcd_vcd30_entrysvd_DEFAULT_VALUE

public boolean isOption_svcd_vcd30_entrysvd_DEFAULT_VALUE()

setOption_svcd_vcd30_entrysvd_DEFAULT_VALUE

public void setOption_svcd_vcd30_entrysvd_DEFAULT_VALUE()

isOption_relaxed_aps_DEFAULT_VALUE

public boolean isOption_relaxed_aps_DEFAULT_VALUE()

setOption_relaxed_aps_DEFAULT_VALUE

public void setOption_relaxed_aps_DEFAULT_VALUE()

isOption_update_scan_offsets_DEFAULT_VALUE

public boolean isOption_update_scan_offsets_DEFAULT_VALUE()

setOption_update_scan_offsets_DEFAULT_VALUE

public void setOption_update_scan_offsets_DEFAULT_VALUE()

isOption_leadout_pause_DEFAULT_VALUE

public boolean isOption_leadout_pause_DEFAULT_VALUE()

setOption_leadout_pause_DEFAULT_VALUE

public void setOption_leadout_pause_DEFAULT_VALUE()

isInfo_album_id_DEFAULT_VALUE

public boolean isInfo_album_id_DEFAULT_VALUE()

setInfo_album_id_DEFAULT_VALUE

public void setInfo_album_id_DEFAULT_VALUE()

isInfo_volume_count_DEFAULT_VALUE

public boolean isInfo_volume_count_DEFAULT_VALUE()

setInfo_volume_count_DEFAULT_VALUE

public void setInfo_volume_count_DEFAULT_VALUE()

isInfo_volume_number_DEFAULT_VALUE

public boolean isInfo_volume_number_DEFAULT_VALUE()

setInfo_volume_number_DEFAULT_VALUE

public void setInfo_volume_number_DEFAULT_VALUE()

isInfo_next_volume_use_sequence2_DEFAULT_VALUE

public boolean isInfo_next_volume_use_sequence2_DEFAULT_VALUE()

setInfo_next_volume_use_sequence2_DEFAULT_VALUE

public void setInfo_next_volume_use_sequence2_DEFAULT_VALUE()

isInfo_next_volume_use_lid2_DEFAULT_VALUE

public boolean isInfo_next_volume_use_lid2_DEFAULT_VALUE()

setInfo_next_volume_use_lid2_DEFAULT_VALUE

public void setInfo_next_volume_use_lid2_DEFAULT_VALUE()

isInfo_restriction_DEFAULT_VALUE

public boolean isInfo_restriction_DEFAULT_VALUE()

setInfo_restriction_DEFAULT_VALUE

public void setInfo_restriction_DEFAULT_VALUE()

isPvd_volume_id_DEFAULT_VALUE

public boolean isPvd_volume_id_DEFAULT_VALUE()

setPvd_volume_id_DEFAULT_VALUE

public void setPvd_volume_id_DEFAULT_VALUE()

isPvd_system_id_DEFAULT_VALUE

public boolean isPvd_system_id_DEFAULT_VALUE()

setPvd_system_id_DEFAULT_VALUE

public void setPvd_system_id_DEFAULT_VALUE()

isPvd_application_id_DEFAULT_VALUE

public boolean isPvd_application_id_DEFAULT_VALUE()

setPvd_application_id_DEFAULT_VALUE

public void setPvd_application_id_DEFAULT_VALUE()

isPvd_preparer_id_DEFAULT_VALUE

public boolean isPvd_preparer_id_DEFAULT_VALUE()

setPvd_preparer_id_DEFAULT_VALUE

public void setPvd_preparer_id_DEFAULT_VALUE()

isPvd_publisher_id_DEFAULT_VALUE

public boolean isPvd_publisher_id_DEFAULT_VALUE()

setPvd_publisher_id_DEFAULT_VALUE

public void setPvd_publisher_id_DEFAULT_VALUE()

initFileSystem

private void initFileSystem()

buildFromJDOM

public static VideoCD buildFromJDOM(org.jdom.Document doc)
                             throws org.jdom.JDOMException,
                                    ParsingException

processPbcSelection

private static void processPbcSelection(VideoCD videoCD,
                                        org.jdom.Element selectionTag,
                                        org.jdom.Namespace ns)
                                 throws org.jdom.JDOMException,
                                        ParsingException

processPbcPlaylist

private static void processPbcPlaylist(VideoCD videoCD,
                                       org.jdom.Element playlistTag,
                                       org.jdom.Namespace ns)
                                throws org.jdom.JDOMException,
                                       ParsingException

processTargetList

private static void processTargetList(java.lang.Object pbcItem,
                                      org.jdom.Element pbcItemTag,
                                      java.lang.String targetListString,
                                      org.jdom.Namespace ns)
                               throws ParsingException

processPbcEndlist

private static void processPbcEndlist(VideoCD videoCD,
                                      org.jdom.Element endlistTag,
                                      org.jdom.Namespace ns)
                               throws org.jdom.JDOMException,
                                      ParsingException

processFileSystemFolder

private static void processFileSystemFolder(javax.swing.tree.DefaultMutableTreeNode treeNode,
                                            org.jdom.Element thisDir,
                                            org.jdom.Namespace ns)
                                     throws org.jdom.JDOMException,
                                            ParsingException

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


buildJDOMDocument

public org.jdom.Document buildJDOMDocument(boolean maximum)

exportThisTargetList

private void exportThisTargetList(boolean maximum,
                                  PbcSelection pbcSelection,
                                  org.jdom.Element selectionTag,
                                  org.jdom.Namespace ns,
                                  java.lang.String targetListString)

exportThisNode

private void exportThisNode(org.jdom.Element thisTag,
                            org.jdom.Namespace ns,
                            javax.swing.tree.TreeNode currentNode)