text
stringlengths
3
1.18M
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.regex.Pattern; /** * Verifica cadenas de acuerdo a caracteres correspondientes a las diferentes * etiquetas XML para determinar las caracterisiticas de las mismas. * @author Adm...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.ArrayList; /** * * @author Administrador */ public class StrOp { public static String getNombreTag(final String str, final String sInicio, final String sFinal) { S...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.Collection; /** * * @author Administrador */ public class Coleccion { public static Collection llenar(final Collection c, Object[] array){ for (int i = 0; i < arra...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * * @author Administrador */ public abstract class XMLSintaxis { public static boolean validarNombreTag(final String str, final String sInicio, final String sFinal) { boolean res...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.Stack; /** * * @author Administrador */ public class Balance { /** * Verifica si la cadena tiene igual cantidad de caracteres de inicio como de fin * @param str C...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * * @author Administrador */ public class Etiqueta { private String nombre; private AtributoEtiqueta[] atributos; public Etiqueta (String nombre, AtributoEtiqueta[] atributos){ ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import java.util.ArrayList; /** * * @author Administrador */ public class Box { private ArrayList<BoxContenido> content; public static final int CONTENT = 0; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import Excepciones.InvalidReadException; import Utilidades.LectorXML; import java.io.FileNotFoundException; /** * * @author Administrador */ public class ParserDTD { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Utilidades.Balance; import Utilidades.StrOp; import java.util.Stack; /** * * @author Administrador */ public abstract class DTDTool { public static int getCantidadSalidasPar(final String str...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import Utilidades.StrOp; import java.util.ArrayList; import java.util.Iterator; /** * * @author Administrador */ public class DTDGenerarValidador { private DTDVali...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * Clase que contiene las palabras reservadas para los atributos de las etiquetas, es decir * si son obligatorios o no. * @author Administrador */ public cla...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * Clase que maneja dos tipos de elementos: * Empty, o vacios, que solo pueden contener atributos, ejemplo <!ELEMENT element-name EMPTY> * Any, o cualquiera, ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; /** * Interface que determina los metodos que deben implementar todos los diccionarios * @author Administrador */ public interface IDiccionario { //Constantes que corresponden a cada un...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * Clase que maneja tres tipos de simbolos: * +, que indica que el elemento debe tener al menos una ocurrencia * ?, que indica que el elemento puede tener una...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; import java.util.Iterator; /** * Clase que encapsula a todos los diccionarios auxiliares existentes * @author Administrador */ public class Diccionario { pr...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * Clase que contiene todos los tipos de datos que pueden tener las etiqueta * @author Administrador */ public class DiccionarioTipoDato implements IDiccionar...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.InvalidReadException; import Utilidades.Coleccion; import Utilidades.LectorXML; import Utilidades.StrOp; import java.io.FileNotFoundException; import java.io.IOException; import java.uti...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import DTD.Validador.ValidadorAttList; import DTD.Validador.ValidadorElement; import DTD.Validador.ValidadorItem; import Excepciones.DTDException; import Utilidades.AtributoEtiqueta; import java.util.Array...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import DTD.Validador.ValidadorSintaxisAttList; import DTD.Validador.ValidadorSintaxisElement; import DTD.Validador.ValidadorSintaxisPrologo; /** * Clase que valida la sintaxis de las etiquetas del DTD de...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import Utilidades.Balance; import Utilidades.StrOp; import Utilidades.VerificadorStrings; import Utilidades.XMLSintaxis; /** * * @author Administrador */ public class ValidadorSintaxisPrologo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDValidadorSintaxis; import Excepciones.DTDException; /** * * @author Administrador */ public class ValidadorItem { private String nombre; // private String elementIn...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; import java.util.ArrayList; /** * Clase que valida los atributos de la etiqueta * @author Adm...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * Validador de etiquetas * @auth...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Administrador */ pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Administrador */ public class ValidadorSintaxisComponente { private boolean pcdata; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; /** * * @author Administrador */ public interface IValidadorSintaxis { public boolean validar (String aValidar); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import Utilidades.VerificadorStrings; import java.util.ArrayList; /** * * @author Administrador */ public class ValidadorVariables { private String str; private ArrayList<String> nom...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Box; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.Balance; import Utilidades.Cola; import Utilidades.StrOp; import Utilidades.VerificadorS...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.AtributoEtiqueta; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Admi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import Utilidades.AtributoEtiqueta; import Utilidades.StrOp; import java.util.ArrayList; /** * * @author Administrador */ public class ValidadorAttList { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import Utilidades.StrOp; /** * * @author Administrador */ public class ValidadorSintaxisLista { private ValidadorSintaxisComponente validador; public ValidadorSi...
package Principal; import Parser.ClasificadorEtiqueta; import java.awt.Color; import java.awt.event.KeyEvent; public class Modifica extends javax.swing.JDialog { Principal principal = null; /** Creates new form Modifica */ public Modifica(java.awt.Frame parent, boolean modal, String stCadena) { sup...
package Principal; import Excepciones.IManejadorError; import Excepciones.ManejadorError; import Parser.Manejador.ManejadorDOM; import Parser.Parser; import java.io.IOException; import java.io.File; /** * * @author David */ public class Lanzador { private Principal principal = null; public Lanzador(Princi...
package Principal; import java.awt.Color; import java.awt.Component; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.Writer; import java.util.ArrayList; import java.util.List; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Principal; import java.io.File; import javax.swing.filechooser.FileFilter; /** * * @author Administrador */ public class XMLFileFilter extends FileFilter { private String filtrar = ".xml"; @Overri...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Excepciones; import DTD.LectorDTD; /** * * @author Administrador */ public class InvalidReadException extends Exception { LectorDTD otroR; public InvalidReadException(String mensaje, LectorDTD otro...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Excepciones; /** * * @author Administrador */ public class DTDException extends Exception { public DTDException() { } public DTDException(String msg) { super("DTD Exception: " + msg); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Excepciones; /** * * @author Administrador */ public interface IManejadorError { public void errorFatal(ParserException ex) throws ParserException; public void error(ParserException ex) throws Pars...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Excepciones; /** * * @author Administrador */ public class ParserException extends Exception { public static int WARNING = 0; public static int ERROR = 1; public static int ERROR_FATAL = 2; p...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Excepciones; /** * * @author Administrador */ public class ManejadorError implements IManejadorError { public void errorFatal(ParserException ex) throws ParserException { String titulo = "ERROR ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Manejador; import Excepciones.ParserException; import Utilidades.AtributoEtiqueta; /** * * @author Administrador */ public interface IManejadorContenido { /** * Metodo plantilla al abrir un...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Manejador; import DOM.Estructura.Atributo; import DOM.Estructura.Elemento; import DOM.*; import Excepciones.ParserException; import Utilidades.AtributoEtiqueta; /** * Manejador DOM se encarga de crear ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser; import DOM.Estructura.Atributo; import DTD.DTDValidador; import DTD.ParserDTD; import Excepciones.*; import Parser.Manejador.*; import Parser.Validador.*; import Principal.Principal; import Utilidades.A...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser; import Parser.Validador.*; /** * Valida el tipo de etiqueta XML leida * @author Administrador */ public class ClasificadorEtiqueta { //Constantes que corresponden a cada una de las partes que n...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser; import java.util.Stack; /** * Esta clase encapsula la pila para asegurar que se cumpla con la estructura jerarquica del XML y que * cada etiqueta se cierre como corresponde. * @author Administrador ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; /** * Interface que define el metodo plantilla de los diferentes validadores que pueden existir * @author Administrador */ public interface IValidador { /** * Metodo plantilla que...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.Balance; import Utilidades.VerificadorStrings; /** * * @author Administrador */ public class ValidadorTagInicio implements IValidador { private ValidadorVariables vVa...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.VerificadorStrings; import Utilidades.StrOp; /** * * @author Administrador */ public class ValidadorTagFinal implements IValidador { String str; public boolean v...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.VerificadorStrings; import Utilidades.StrOp; /** * Verifica si el tag XML leido corresponde a un comentario * @author Administrador */ public class ValidadorComentario im...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.VerificadorStrings; /** * * @author Administrador */ public class ValidadorContenido implements IValidador{ public boolean validar(String str) { boolean resu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.*; /** * * @author Administrador */ public class ValidadorTagAutoContenido implements IValidador { private String str; private ValidadorVariables vVariables; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.*; import javax.swing.JOptionPane; /** * * @author Administrador */ public class ValidadorPrologo implements IValidador { private static String nombres[]={"version"...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.VerificadorStrings; /** * * @author Administrador */ public class ValidadorContenidoCDATA implements IValidador{ public boolean validar(String str) { boolean...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; import Utilidades.VerificadorStrings; import java.util.Vector; /** * * @author Administrador */ public class ValidadorVariables implements IValidador { private String str; private ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Parser.Validador; /** * * @author Administrador */ public class ValidadorDTD implements IValidador { public boolean validar(String str) { boolean resultado = true; try { res...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import DOM.Estructura.IComponente; import Utilidades.IIterador; import java.util.ArrayList; /** * Iterador que se utiliza para recorrer los diferentes nodos de la estructura * jerárquica del X...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import java.util.ArrayList; /** * Representa un elemento, en este caso una etiqueta * @author Administrador */ public class Elemento extends Compuesto { private Atributo contenido; //con...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import DOM.Estructura.IteradorComponentes; import DOM.Estructura.IComponente; import Utilidades.IIterador; import java.util.ArrayList; /** * Representa un nodo de la estructura recursiva del a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import Utilidades.AtributoEtiqueta; /** * Representa el contenido o atributo de un elemento (etiqueta) * @author Administrador */ public class Atributo extends Compuesto{ //Constantes qu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import Utilidades.IIterador; /** * Representa el documento XML en memoria. * @author Administrador */ public class Documento extends Compuesto { /** * Comstructor que recibe el nom...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; import Utilidades.IIterador; /** * Interface que determina los metofos que deben implementar los nodos de la * estructura jerárquica del patrón Composite * @author Administrador */ public i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM.Estructura; /** * Representa el prologo del XML con todos sus atributos * @author Administrador */ public class Encabezado extends Compuesto { /** * Crea el encabezado que representa el prologo ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DOM; import DOM.Estructura.Atributo; import DOM.Estructura.Encabezado; import DOM.Estructura.Elemento; import DOM.Estructura.IComponente; import DOM.Estructura.Documento; import java.util.ArrayList; /** * * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * Interface que determina los métodos bàsicos necesarios que deben implementar * las diferentes implementaciones de iteradores para recorrer tipos particulares * de lementos * @author Adminis...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.io.*; /** * Lee el archivo XML * @author Administrador */ public class LectorXML { private File f; //Archivo a leer private BufferedReader lector; // private boolean eof...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * * @author Administrador * Esta clase empaqueta los atributos de las etiquetas del XML * Asi si tenemos un elemento <code>"<etiqueta atributo="valor">"</code> * se genera una instancia de ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.ArrayList; /** * * @author Administrador */ public class Cola<E> extends ArrayList<E> { public void push(E aAgregar) { super.add(aAgregar); } public E peek...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.regex.Pattern; /** * Verifica cadenas de acuerdo a caracteres correspondientes a las diferentes * etiquetas XML para determinar las caracterisiticas de las mismas. * @author Adm...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.ArrayList; /** * * @author Administrador */ public class StrOp { public static String getNombreTag(final String str, final String sInicio, final String sFinal) { S...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.Collection; /** * * @author Administrador */ public class Coleccion { public static Collection llenar(final Collection c, Object[] array){ for (int i = 0; i < arra...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * * @author Administrador */ public abstract class XMLSintaxis { public static boolean validarNombreTag(final String str, final String sInicio, final String sFinal) { boolean res...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; import java.util.Stack; /** * * @author Administrador */ public class Balance { /** * Verifica si la cadena tiene igual cantidad de caracteres de inicio como de fin * @param str C...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Utilidades; /** * * @author Administrador */ public class Etiqueta { private String nombre; private AtributoEtiqueta[] atributos; public Etiqueta (String nombre, AtributoEtiqueta[] atributos){ ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import java.util.ArrayList; /** * * @author Administrador */ public class Box { private ArrayList<BoxContenido> content; public static final int CONTENT = 0; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import Excepciones.InvalidReadException; import Utilidades.LectorXML; import java.io.FileNotFoundException; /** * * @author Administrador */ public class ParserDTD { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Utilidades.Balance; import Utilidades.StrOp; import java.util.Stack; /** * * @author Administrador */ public abstract class DTDTool { public static int getCantidadSalidasPar(final String str...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.DTDException; import Utilidades.StrOp; import java.util.ArrayList; import java.util.Iterator; /** * * @author Administrador */ public class DTDGenerarValidador { private DTDVali...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * * @author Administrador */ public class DiccionarioAtributo implements IDiccionario { private ArrayList<String> palabras; private int tipo; pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * * @author Administrador */ public class DiccionarioElemento implements IDiccionario { private ArrayList<String> palabras; private int tipo; pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * * @author Administrador */ public class DiccionarioSimbolo implements IDiccionario{ private ArrayList<String> palabras; private int tipo; publ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; /** * * @author Administrador */ public interface IDiccionario { public static final int ERROR = -1; public static final int ELEMENT_OPCIONAL = 0; public static final ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; import java.util.Iterator; /** * * @author Administrador */ public class Diccionario { private ArrayList<IDiccionario> diccionario; public Diccionario(...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Diccionario; import java.util.ArrayList; /** * * @author Administrador */ public class DiccionarioTipoDato implements IDiccionario { private ArrayList<String> palabras; private int tipo; pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import Excepciones.InvalidReadException; import Utilidades.Coleccion; import Utilidades.LectorXML; import Utilidades.StrOp; import java.io.FileNotFoundException; import java.io.IOException; import java.uti...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import DTD.Validador.ValidadorAttList; import DTD.Validador.ValidadorElement; import DTD.Validador.ValidadorItem; import Excepciones.DTDException; import Utilidades.AtributoEtiqueta; import java.util.Array...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD; import DTD.Validador.ValidadorSintaxisAttList; import DTD.Validador.ValidadorSintaxisElement; import DTD.Validador.ValidadorSintaxisPrologo; /** * * @author Administrador */ public class DTDValidadorSi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import Utilidades.Balance; import Utilidades.StrOp; import Utilidades.VerificadorStrings; import Utilidades.XMLSintaxis; /** * * @author Administrador */ public class ValidadorSintaxisPrologo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDValidadorSintaxis; import Excepciones.DTDException; /** * * @author Administrador */ public class ValidadorItem { private String nombre; private String elementInterno; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; import java.util.ArrayList; /** * * @author Administrador */ public class ValidadorSintaxisA...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Administrador */ pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Administrador */ pu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Administrador */ public class ValidadorSintaxisComponente { private boolean pcdata; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; /** * * @author Administrador */ public interface IValidadorSintaxis { public boolean validar (String aValidar); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import Utilidades.VerificadorStrings; import java.util.ArrayList; /** * * @author Administrador */ public class ValidadorVariables { private String str; private ArrayList<String> nom...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Box; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.Balance; import Utilidades.Cola; import Utilidades.StrOp; import Utilidades.VerificadorS...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import DTD.Diccionario.IDiccionario; import Utilidades.AtributoEtiqueta; import Utilidades.StrOp; import Utilidades.VerificadorStrings; /** * * @author Admi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.Diccionario.Diccionario; import Utilidades.AtributoEtiqueta; import Utilidades.StrOp; import java.util.ArrayList; /** * * @author Administrador */ public class ValidadorAttList { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package DTD.Validador; import DTD.DTDTool; import Utilidades.StrOp; /** * * @author Administrador */ public class ValidadorSintaxisLista { private ValidadorSintaxisComponente validador; public ValidadorSi...
package Principal; import Parser.ClasificadorEtiqueta; import java.awt.Color; import java.awt.event.KeyEvent; public class Modifica extends javax.swing.JDialog { Principal principal = null; /** Creates new form Modifica */ public Modifica(java.awt.Frame parent, boolean modal, String stCadena) { sup...
package Principal; import Excepciones.IManejadorError; import Excepciones.ManejadorError; import Parser.Manejador.ManejadorDOM; import Parser.Parser; import java.io.IOException; import java.io.File; /** * * @author David */ public class Lanzador { private Principal principal = null; public Lanzador(Princi...