public class NIFDocument extends MaskDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElementexactMatch, masklineLimitAttribute, tabSizeAttributeBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitleProperty| Constructor and Description |
|---|
NIFDocument() |
| Modifier and Type | Method and Description |
|---|---|
static char |
calculateLetter(String dni) |
protected static char |
getLetter(String DNI) |
void |
insertString(int offset,
String stringToInsert,
AttributeSet attributes) |
static boolean |
isNIEWellFormed(String nie) |
static boolean |
isNIFWellFormed(String nif) |
compareToMask, getValue, isFixedChar, isRight, setExactMatch, setValuecreateDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdateaddDocumentListener, addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlockpublic void insertString(int offset,
String stringToInsert,
AttributeSet attributes)
insertString in interface DocumentinsertString in class MaskDocumentpublic static char calculateLetter(String dni)
protected static char getLetter(String DNI)
public static boolean isNIFWellFormed(String nif)
public static boolean isNIEWellFormed(String nie)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.