|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.g11ntoolkit.xliffutil.mergeXliff
Merge NXL and XL xliff files
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary | |
protected boolean |
_DBG
|
protected statusListener |
_listener
|
protected boolean |
_turnOnApproved
|
| Constructor Summary | |
mergeXliff()
Create a new XLIFFFile. |
|
| Method Summary | |
protected org.w3c.dom.Node |
addNote(org.w3c.dom.Node node,
java.lang.String note)
Add note element. |
boolean |
getDebugmode()
Get debug mode |
protected org.w3c.dom.Node |
getDestFile(org.w3c.dom.Document doc,
org.w3c.dom.Node file,
boolean note)
Get dest body node from file element.. |
protected org.w3c.dom.Node |
getDestFile(java.util.List docs,
org.w3c.dom.Element file,
boolean note)
Get dest body node from file element.. |
static void |
main(java.lang.String[] args)
Main |
void |
merge(org.w3c.dom.Document in1,
org.w3c.dom.Document in2)
Merge 2nd document into 1st document. |
void |
merge(org.w3c.dom.Document out,
org.w3c.dom.Document in1,
org.w3c.dom.Document in2)
Merge two document into 1st document. |
void |
merge(java.util.List in1,
java.util.List in2)
Merge 2nd document into 1st document. |
void |
setDebugmode(boolean flag)
Set debug mode |
void |
setStatusListener(statusListener listener)
Set Status listener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean _DBG
protected boolean _turnOnApproved
protected statusListener _listener
| Constructor Detail |
public mergeXliff()
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - XML File name
java.lang.Exceptionpublic void setDebugmode(boolean flag)
flag - Debug flagpublic void setStatusListener(statusListener listener)
listener - Status listener classpublic boolean getDebugmode()
public void merge(org.w3c.dom.Document out,
org.w3c.dom.Document in1,
org.w3c.dom.Document in2)
out - Output Document classin1 - master Document classin2 - slave Document class
public void merge(org.w3c.dom.Document in1,
org.w3c.dom.Document in2)
in1 - master Document class (XL XLIFF file)in2 - slave Document class (NXL XLIFF file)
public void merge(java.util.List in1,
java.util.List in2)
in1 - master Document class (XL XLIFF file)in2 - slave Document class (NXL XLIFF file)
protected org.w3c.dom.Node getDestFile(org.w3c.dom.Document doc,
org.w3c.dom.Node file,
boolean note)
doc - Dest Document classfile - source file elementnote - flag for adding note
protected org.w3c.dom.Node getDestFile(java.util.List docs,
org.w3c.dom.Element file,
boolean note)
docs - Dest Document classfile - source file elementnote - flag for adding note
protected org.w3c.dom.Node addNote(org.w3c.dom.Node node,
java.lang.String note)
node - Dest nodenote - Note string
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||