Arreglar warnings

Limpiar imports
Reformatear el código
Agregar JavaDoc que falta
This commit is contained in:
Chris Cromer 2017-06-24 22:10:58 -04:00
parent a473b3df04
commit 0c5a599793
28 changed files with 437 additions and 135 deletions

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>All Classes</title> <title>All Classes</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>All Classes</title> <title>All Classes</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Constant Field Values</title> <title>Constant Field Values</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Deprecated List</title> <title>Deprecated List</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>API Help</title> <title>API Help</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>C-Index</title> <title>C-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,7 +68,8 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:C"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:C">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">C</h2> <h2 class="title">C</h2>
@ -77,8 +78,14 @@
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../mt/Controller.html#Controller--">Controller()</a></span> - Constructor for class mt.<a href="../mt/Controller.html" title="class in mt">Controller</a></dt> <dt><span class="memberNameLink"><a href="../mt/Controller.html#Controller--">Controller()</a></span> - Constructor for class mt.<a href="../mt/Controller.html" title="class in mt">Controller</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.html#createDocument-java.io.File-">createDocument(File)</a></span>
- Method in class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt>
<dd>
<div class="block">Crear un documento de XML</div>
</dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>E-Index</title> <title>E-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,11 +68,16 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:E"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:E">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">E</h2> <h2 class="title">E</h2>
<dl> <dl>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#error">error</a></span> - Variable
in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a>
</dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#error-jdk.internal.org.xml.sax.SAXParseException-">error(SAXParseException)</a></span> - Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></dt> <dt><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#error-jdk.internal.org.xml.sax.SAXParseException-">error(SAXParseException)</a></span> - Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></dt>
<dd> <dd>
<div class="block">Un error</div> <div class="block">Un error</div>
@ -82,7 +87,8 @@
<div class="block">Un error</div> <div class="block">Un error</div>
</dd> </dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>F-Index</title> <title>F-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,7 +68,8 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:F"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:F">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">F</h2> <h2 class="title">F</h2>
@ -81,8 +82,14 @@
<dd> <dd>
<div class="block">Un error fatal</div> <div class="block">Un error fatal</div>
</dd> </dd>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.html#fixXML-java.io.File-">fixXML(File)</a></span> - Method
in class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt>
<dd>
<div class="block">Arreglar el archivo de xml si no es valido.</div>
</dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>L-Index</title> <title>L-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,27 +68,29 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:L"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:L">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">L</h2> <h2 class="title">L</h2>
<dl> <dl>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.html#leerArchivo-java.io.File-">leerArchivo(File)</a></span> - Method in class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt> <dt><span class="memberNameLink"><a href="../mt/LeerXML.html#leerArchivo-java.io.File-">leerArchivo(File)</a></span> - Method in class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt>
<dd> <dd>
<div class="block">El metodo va a verificar que el archivo existe y que contiene xml valido.</div> <div class="block">El metodo va a verificar que el archivo existe y que contiene XML valido.</div>
</dd> </dd>
<dt><a href="../mt/LeerXML.html" title="class in mt"><span class="typeNameLink">LeerXML</span></a> - Class in <a href="../mt/package-summary.html">mt</a></dt> <dt><a href="../mt/LeerXML.html" title="class in mt"><span class="typeNameLink">LeerXML</span></a> - Class in <a href="../mt/package-summary.html">mt</a></dt>
<dd> <dd>
<div class="block">Esta clase puede abrir y validar un archivo de xml.</div> <div class="block">Esta clase puede abrir y validar un archivo de XML.</div>
</dd> </dd>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.html#LeerXML--">LeerXML()</a></span> - Constructor for class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt> <dt><span class="memberNameLink"><a href="../mt/LeerXML.html#LeerXML--">LeerXML()</a></span> - Constructor for class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt"><span class="typeNameLink">LeerXML.SimpleErrorHandler</span></a> - Class in <a href="../mt/package-summary.html">mt</a></dt> <dt><a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt"><span class="typeNameLink">LeerXML.SimpleErrorHandler</span></a> - Class in <a href="../mt/package-summary.html">mt</a></dt>
<dd> <dd>
<div class="block">Esta clase se usa para validar que el xml es valido.</div> <div class="block">Esta clase se usa para comprobar que el xml es valido.</div>
</dd> </dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>M-Index</title> <title>M-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,7 +68,8 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:M"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:M">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">M</h2> <h2 class="title">M</h2>
@ -86,7 +87,8 @@
<dt><span class="memberNameLink"><a href="../mt/MT.html#MT--">MT()</a></span> - Constructor for class mt.<a href="../mt/MT.html" title="class in mt">MT</a></dt> <dt><span class="memberNameLink"><a href="../mt/MT.html#MT--">MT()</a></span> - Constructor for class mt.<a href="../mt/MT.html" title="class in mt">MT</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>S-Index</title> <title>S-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -68,7 +68,8 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:S"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:S">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">S</h2> <h2 class="title">S</h2>
@ -80,7 +81,8 @@
<div class="block">Metodo de JavaFX llamada para generar el interfaz grafico.</div> <div class="block">Metodo de JavaFX llamada para generar el interfaz grafico.</div>
</dd> </dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>W-Index</title> <title>V-Index</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -12,7 +12,7 @@
<script type="text/javascript"><!-- <script type="text/javascript"><!--
try { try {
if (location.href.indexOf('is-external=true') == -1) { if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="W-Index"; parent.document.title = "V-Index";
} }
} }
catch(err) { catch(err) {
@ -43,7 +43,7 @@
<div class="subNav"> <div class="subNav">
<ul class="navList"> <ul class="navList">
<li><a href="index-6.html">Prev Letter</a></li> <li><a href="index-6.html">Prev Letter</a></li>
<li>Next Letter</li> <li><a href="index-8.html">Next Letter</a></li>
</ul> </ul>
<ul class="navList"> <ul class="navList">
<li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li> <li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li>
@ -68,21 +68,20 @@
<!-- --> <!-- -->
</a></div> </a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;<a name="I:W"> <div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:V">
<!-- --> <!-- -->
</a> </a>
<h2 class="title">W</h2> <h2 class="title">V</h2>
<dl> <dl>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#warning-jdk.internal.org.xml.sax.SAXParseException-">warning(SAXParseException)</a></span> - Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></dt> <dt><span class="memberNameLink"><a href="../mt/LeerXML.html#validarXML-java.io.File-">validarXML(File)</a></span> -
Method in class mt.<a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></dt>
<dd> <dd>
<div class="block">Un warning</div> <div class="block">Este metodo se usa para validar el XML.</div>
</dd>
<dt><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#warning-org.xml.sax.SAXParseException-">warning(SAXParseException)</a></span> - Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></dt>
<dd>
<div class="block">Un warning</div>
</dd> </dd>
</dl> </dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">W</a>&nbsp;</div> <a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom"> <div class="bottomNav"><a name="navbar.bottom">
<!-- --> <!-- -->
@ -104,7 +103,7 @@
<div class="subNav"> <div class="subNav">
<ul class="navList"> <ul class="navList">
<li><a href="index-6.html">Prev Letter</a></li> <li><a href="index-6.html">Prev Letter</a></li>
<li>Next Letter</li> <li><a href="index-8.html">Next Letter</a></li>
</ul> </ul>
<ul class="navList"> <ul class="navList">
<li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li> <li><a href="../index.html?index-files/index-7.html" target="_top">Frames</a></li>

View File

@ -0,0 +1,143 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>W-Index</title>
<meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title = "W-Index";
}
}
catch (err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
</div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../mt/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="../mt/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-7.html">Prev Letter</a></li>
<li>Next Letter</li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li>
<li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer">
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;<a name="I:W">
<!-- -->
</a>
<h2 class="title">W</h2>
<dl>
<dt>
<span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#warning-jdk.internal.org.xml.sax.SAXParseException-">warning(SAXParseException)</a></span>
- Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a>
</dt>
<dd>
<div class="block">Un warning</div>
</dd>
<dt>
<span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#warning-org.xml.sax.SAXParseException-">warning(SAXParseException)</a></span>
- Method in class mt.<a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a>
</dt>
<dd>
<div class="block">Un warning</div>
</dd>
</dl>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">E</a>&nbsp;<a href="index-3.html">F</a>&nbsp;<a href="index-4.html">L</a>&nbsp;<a href="index-5.html">M</a>&nbsp;<a href="index-6.html">S</a>&nbsp;<a href="index-7.html">V</a>&nbsp;<a href="index-8.html">W</a>&nbsp;
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
</div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../mt/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="../mt/package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-7.html">Prev Letter</a></li>
<li>Next Letter</li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-8.html" target="_top">Frames</a></li>
<li><a href="index-8.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@ -2,7 +2,7 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Generated Documentation (Untitled)</title> <title>Generated Documentation (Untitled)</title>
<script type="text/javascript"> <script type="text/javascript">
tmpTargetPage = "" + window.location.search; tmpTargetPage = "" + window.location.search;

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:16 CLT 2017 -->
<title>Controller</title> <title>Controller</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>LeerXML.SimpleErrorHandler</title> <title>LeerXML.SimpleErrorHandler</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -74,13 +74,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="subNavList"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
@ -116,16 +116,37 @@ var activeTableTab = "activeTableTab";
</dl> </dl>
<hr> <hr>
<br> <br>
<pre>protected class <span class="typeNameLabel">LeerXML.SimpleErrorHandler</span> <pre>class <span class="typeNameLabel">LeerXML.SimpleErrorHandler</span>
extends java.lang.Object extends java.lang.Object
implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre> implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre>
<div class="block">Esta clase se usa para validar que el xml es valido.</div> <div class="block">Esta clase se usa para comprobar que el xml es valido.</div>
</li> </li>
</ul> </ul>
</div> </div>
<div class="summary"> <div class="summary">
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) boolean</code></td>
<td class="colLast">
<code><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#error">error</a></span></code>&nbsp;
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="constructor.summary"> <li class="blockList"><a name="constructor.summary">
@ -135,12 +156,12 @@ implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr> <tr>
<th class="colFirst" scope="col">Modifier</th> <th class="colOne" scope="col">Constructor and Description</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr> </tr>
<tr class="altColor"> <tr class="altColor">
<td class="colFirst"><code>protected </code></td> <td class="colOne">
<td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#SimpleErrorHandler--">SimpleErrorHandler</a></span>()</code>&nbsp;</td> <code><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html#SimpleErrorHandler--">SimpleErrorHandler</a></span>()</code>&nbsp;
</td>
</tr> </tr>
</table> </table>
</li> </li>
@ -209,6 +230,23 @@ implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre>
<div class="details"> <div class="details">
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="error">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>error</h4>
<pre>boolean error</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="constructor.detail"> <li class="blockList"><a name="constructor.detail">
@ -221,7 +259,7 @@ implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre>
<ul class="blockListLast"> <ul class="blockListLast">
<li class="blockList"> <li class="blockList">
<h4>SimpleErrorHandler</h4> <h4>SimpleErrorHandler</h4>
<pre>protected&nbsp;SimpleErrorHandler()</pre> <pre>SimpleErrorHandler()</pre>
</li> </li>
</ul> </ul>
</li> </li>
@ -384,13 +422,13 @@ implements jdk.internal.org.xml.sax.ErrorHandler, org.xml.sax.ErrorHandler</pre>
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="subNavList"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>LeerXML</title> <title>LeerXML</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -18,7 +18,7 @@
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":10}; var methods = {"i0": 10, "i1": 10, "i2": 10, "i3": 10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab";
<br> <br>
<pre>class <span class="typeNameLabel">LeerXML</span> <pre>class <span class="typeNameLabel">LeerXML</span>
extends java.lang.Object</pre> extends java.lang.Object</pre>
<div class="block">Esta clase puede abrir y validar un archivo de xml.</div> <div class="block">Esta clase puede abrir y validar un archivo de XML. Se necesita un archivo mtbase.dtd</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -130,9 +130,9 @@ extends java.lang.Object</pre>
<th class="colLast" scope="col">Class and Description</th> <th class="colLast" scope="col">Class and Description</th>
</tr> </tr>
<tr class="altColor"> <tr class="altColor">
<td class="colFirst"><code>protected class&nbsp;</code></td> <td class="colFirst"><code>(package private) class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></span></code> <td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.SimpleErrorHandler.html" title="class in mt">LeerXML.SimpleErrorHandler</a></span></code>
<div class="block">Esta clase se usa para validar que el xml es valido.</div> <div class="block">Esta clase se usa para comprobar que el xml es valido.</div>
</td> </td>
</tr> </tr>
</table> </table>
@ -168,9 +168,28 @@ extends java.lang.Object</pre>
<th class="colLast" scope="col">Method and Description</th> <th class="colLast" scope="col">Method and Description</th>
</tr> </tr>
<tr id="i0" class="altColor"> <tr id="i0" class="altColor">
<td class="colFirst"><code>private org.w3c.dom.Document</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.html#createDocument-java.io.File-">createDocument</a></span>(java.io.File&nbsp;archivo)</code>
<div class="block">Crear un documento de XML</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private java.io.File</code></td>
<td class="colLast">
<code><span class="memberNameLink"><a href="../mt/LeerXML.html#fixXML-java.io.File-">fixXML</a></span>(java.io.File&nbsp;original)</code>
<div class="block">Arreglar el archivo de xml si no es valido.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>(package private) org.w3c.dom.Document</code></td> <td class="colFirst"><code>(package private) org.w3c.dom.Document</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.html#leerArchivo-java.io.File-">leerArchivo</a></span>(java.io.File&nbsp;archivo)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.html#leerArchivo-java.io.File-">leerArchivo</a></span>(java.io.File&nbsp;archivo)</code>
<div class="block">El metodo va a verificar que el archivo existe y que contiene xml valido.</div> <div class="block">El metodo va a verificar que el archivo existe y que contiene XML valido.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private org.w3c.dom.Document</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../mt/LeerXML.html#validarXML-java.io.File-">validarXML</a></span>(java.io.File&nbsp;original)</code>
<div class="block">Este metodo se usa para validar el XML.</div>
</td> </td>
</tr> </tr>
</table> </table>
@ -215,16 +234,66 @@ extends java.lang.Object</pre>
<a name="leerArchivo-java.io.File-"> <a name="leerArchivo-java.io.File-">
<!-- --> <!-- -->
</a> </a>
<ul class="blockListLast"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<h4>leerArchivo</h4> <h4>leerArchivo</h4>
<pre>org.w3c.dom.Document&nbsp;leerArchivo(java.io.File&nbsp;archivo)</pre> <pre>org.w3c.dom.Document&nbsp;leerArchivo(java.io.File&nbsp;archivo)</pre>
<div class="block">El metodo va a verificar que el archivo existe y que contiene xml valido. Si es valido devuelve el documento.</div> <div class="block">El metodo va a verificar que el archivo existe y que contiene XML valido. Si es valido devuelve
el documento.
</div>
<dl> <dl>
<dt><span class="paramLabel">Parameters:</span></dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>archivo</code> - Es el archivo a abrir.</dd> <dd><code>archivo</code> - Es el archivo a abrir.</dd>
<dt><span class="returnLabel">Returns:</span></dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>Devuelve un document de xml o null si habia algun error.</dd> <dd>Devuelve un document de XML o null si hay algun error.</dd>
</dl>
</li>
</ul>
<a name="createDocument-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createDocument</h4>
<pre>private&nbsp;org.w3c.dom.Document&nbsp;createDocument(java.io.File&nbsp;archivo)</pre>
<div class="block">Crear un documento de XML</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>archivo</code> - Es el archivo XML</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Retorna un document del XML o null si hay algun error.</dd>
</dl>
</li>
</ul>
<a name="validarXML-java.io.File-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validarXML</h4>
<pre>private&nbsp;org.w3c.dom.Document&nbsp;validarXML(java.io.File&nbsp;original)</pre>
<div class="block">Este metodo se usa para validar el XML.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>original</code> - es el archivo original del XML</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Retorna un document de un xml arreglado, null si el xml no es coherente a lo que se pide</dd>
</dl>
</li>
</ul>
<a name="fixXML-java.io.File-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fixXML</h4>
<pre>private&nbsp;java.io.File&nbsp;fixXML(java.io.File&nbsp;original)</pre>
<div class="block">Arreglar el archivo de xml si no es valido.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>original</code> - Es el archivo xml sin cambios</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>un file de xml adaptado para ser validado</dd>
</dl> </dl>
</li> </li>
</ul> </ul>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>MT</title> <title>MT</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Uses of Class mt.Controller</title> <title>Uses of Class mt.Controller</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Uses of Class mt.LeerXML.SimpleErrorHandler</title> <title>Uses of Class mt.LeerXML.SimpleErrorHandler</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Uses of Class mt.LeerXML</title> <title>Uses of Class mt.LeerXML</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Uses of Class mt.MT</title> <title>Uses of Class mt.MT</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>mt</title> <title>mt</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>mt</title> <title>mt</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>
@ -88,7 +88,7 @@
<tr class="rowColor"> <tr class="rowColor">
<td class="colFirst"><a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></td> <td class="colFirst"><a href="../mt/LeerXML.html" title="class in mt">LeerXML</a></td>
<td class="colLast"> <td class="colLast">
<div class="block">Esta clase puede abrir y validar un archivo de xml.</div> <div class="block">Esta clase puede abrir y validar un archivo de XML.</div>
</td> </td>
</tr> </tr>
<tr class="rowColor"> <tr class="rowColor">

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>mt Class Hierarchy</title> <title>mt Class Hierarchy</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Uses of Package mt</title> <title>Uses of Package mt</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script> <script type="text/javascript" src="../script.js"></script>
</head> </head>

View File

@ -2,9 +2,9 @@
<!-- NewPage --> <!-- NewPage -->
<html lang="es"> <html lang="es">
<head> <head>
<!-- Generated by javadoc (1.8.0_131) on Fri Jun 23 19:19:36 CLT 2017 --> <!-- Generated by javadoc (1.8.0_131) on Sat Jun 24 22:08:17 CLT 2017 -->
<title>Class Hierarchy</title> <title>Class Hierarchy</title>
<meta name="date" content="2017-06-23"> <meta name="date" content="2017-06-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
</head> </head>

View File

@ -10,13 +10,7 @@ package mt;
import java.io.*; import java.io.*;
import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilder;
import javax.xml.stream.util.StreamReaderDelegate;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl;
import jdk.internal.org.xml.sax.ErrorHandler; import jdk.internal.org.xml.sax.ErrorHandler;
import jdk.internal.org.xml.sax.SAXException; import jdk.internal.org.xml.sax.SAXException;
import jdk.internal.org.xml.sax.SAXParseException; import jdk.internal.org.xml.sax.SAXParseException;
@ -24,33 +18,37 @@ import jdk.internal.org.xml.sax.SAXParseException;
import org.w3c.dom.Document; import org.w3c.dom.Document;
/** /**
* Esta clase puede abrir y validar un archivo de xml. Se necesita un archivo mtbase.dtd * Esta clase puede abrir y validar un archivo de XML. Se necesita un archivo mtbase.dtd
*/ */
class LeerXML { class LeerXML {
/** /**
* El metodo va a verificar que el archivo existe y que contiene xml valido. Si es valido devuelve el documento. * El metodo va a verificar que el archivo existe y que contiene XML valido. Si es valido devuelve el documento.
* *
* @param archivo Es el archivo a abrir. * @param archivo Es el archivo a abrir.
* @return Devuelve un document de xml o null si hay algun error. *
* @return Devuelve un document de XML o null si hay algun error.
*/ */
public Document leerArchivo(File archivo) { Document leerArchivo(File archivo) {
if(!archivo.exists() || !archivo.getName().endsWith(".xml")){ if (!archivo.exists() || !archivo.getName().endsWith(".xml")) {
System.out.println("Archivo "+archivo.getName()+" no existe o no es compatible"); System.out.println("Archivo " + archivo.getName() + " no existe o no es compatible");
return null; return null;
} }
Document dc = createDocument(archivo); Document dc = createDocument(archivo);
if(dc == null) return validarXML(archivo); if (dc == null) {
return validarXML(archivo);
}
return dc; return dc;
} }
/** /**
* Crear un documento de XML
* *
* @param archivo Es el archivo Xml * @param archivo Es el archivo XML
* @return Retorna un document del xml o null si hay algun error. *
* @return Retorna un document del XML o null si hay algun error.
*/ */
private Document createDocument(File archivo) {
private Document createDocument(File archivo){
Document document; Document document;
try { try {
if (!archivo.exists()) { if (!archivo.exists()) {
@ -66,12 +64,14 @@ class LeerXML {
SimpleErrorHandler seh = new SimpleErrorHandler(); SimpleErrorHandler seh = new SimpleErrorHandler();
db.setErrorHandler(seh); db.setErrorHandler(seh);
document = db.parse(archivo); document = db.parse(archivo);
if(seh.error) return null; if (seh.error) {
return null;
}
document.getDocumentElement().normalize(); document.getDocumentElement().normalize();
return document; return document;
} }
catch(Exception e) { catch (Exception e) {
if(e.getMessage().indexOf(".dtd") >= 0) { if (e.getMessage().contains(".dtd")) {
return validarXML(archivo); return validarXML(archivo);
} }
System.out.println(e.getMessage()); System.out.println(e.getMessage());
@ -81,51 +81,71 @@ class LeerXML {
} }
/** /**
* Este metodo se usa para validar el XML.
*
* @param original es el archivo original del XML
* *
* @param original es el archivo original del xml
* @return Retorna un document de un xml arreglado, null si el xml no es coherente a lo que se pide * @return Retorna un document de un xml arreglado, null si el xml no es coherente a lo que se pide
*/ */
private Document validarXML(File original){ private Document validarXML(File original) {
File temp = fixXML(original); File temp = fixXML(original);
if (temp == null) {
return null;
}
Document document = createDocument(temp); Document document = createDocument(temp);
temp.delete(); if (!temp.delete()) {
if(document != null) return document; System.out.println("No puede borrar el archivo " + temp.getName());
}
if (document != null) {
return document;
}
return null; return null;
} }
/** /**
* Arreglar el archivo de xml si no es valido.
* *
* @param original Es el archivo xml sin cambios * @param original Es el archivo xml sin cambios
*
* @return un file de xml adaptado para ser validado * @return un file de xml adaptado para ser validado
*/ */
private File fixXML(File original){ private File fixXML(File original) {
String aux = ""; String aux;
File temp; File temp;
try{ try {
temp = new File("temp.xml"); temp = new File("temp.xml");
BufferedReader br = new BufferedReader(new FileReader(original)); BufferedReader br = new BufferedReader(new FileReader(original));
BufferedWriter bw = new BufferedWriter(new FileWriter(temp)); BufferedWriter bw = new BufferedWriter(new FileWriter(temp));
if((aux = br.readLine()).startsWith("<?xml")){ if ((aux = br.readLine()).startsWith("<?xml")) {
bw.write(aux+"\n<!DOCTYPE root SYSTEM \"mtbase.dtd\">"); bw.write(aux + "\n<!DOCTYPE root SYSTEM \"mtbase.dtd\">");
}else{
bw.write("<!DOCTYPE root SYSTEM \"mtbase.dtd\">\n"+aux);
} }
for(aux = "";aux != null;aux = br.readLine()){ else {
if(!aux.startsWith("<!DOCTYPE")) bw.write(aux+"\n"); bw.write("<!DOCTYPE root SYSTEM \"mtbase.dtd\">\n" + aux);
}
for (aux = ""; aux != null; aux = br.readLine()) {
if (!aux.startsWith("<!DOCTYPE")) {
bw.write(aux + "\n");
}
} }
bw.close(); bw.close();
}catch (Exception e){return null;} }
catch (Exception e) {
return null;
}
return temp; return temp;
} }
/** /**
* Esta clase se usa para comprobar que el xml es valido. * Esta clase se usa para comprobar que el xml es valido.
*/ */
protected class SimpleErrorHandler implements ErrorHandler, org.xml.sax.ErrorHandler { class SimpleErrorHandler implements ErrorHandler, org.xml.sax.ErrorHandler {
public boolean error = false; boolean error = false;
/** /**
* Un warning * Un warning
*
* @param e La excepción * @param e La excepción
*
* @throws SAXException La excepción thrown * @throws SAXException La excepción thrown
*/ */
public void warning(SAXParseException e) throws SAXException { public void warning(SAXParseException e) throws SAXException {
@ -134,7 +154,9 @@ class LeerXML {
/** /**
* Un error * Un error
*
* @param e La excepción * @param e La excepción
*
* @throws SAXException La excepción thrown * @throws SAXException La excepción thrown
*/ */
public void error(SAXParseException e) throws SAXException { public void error(SAXParseException e) throws SAXException {
@ -144,7 +166,9 @@ class LeerXML {
/** /**
* Un error fatal * Un error fatal
*
* @param e La excepción * @param e La excepción
*
* @throws SAXException La excepción thrown * @throws SAXException La excepción thrown
*/ */
public void fatalError(SAXParseException e) throws SAXException { public void fatalError(SAXParseException e) throws SAXException {
@ -154,6 +178,7 @@ class LeerXML {
/** /**
* Un warning * Un warning
*
* @param e La excepción * @param e La excepción
*/ */
@Override @Override
@ -163,6 +188,7 @@ class LeerXML {
/** /**
* Un error * Un error
*
* @param e La excepción * @param e La excepción
*/ */
@Override @Override
@ -173,6 +199,7 @@ class LeerXML {
/** /**
* Un error fatal * Un error fatal
*
* @param e La excepción * @param e La excepción
*/ */
@Override @Override