public class Warnings extends ArrayList<Warnings>
| Modifier and Type | Field and Description |
|---|---|
static String |
ABSENT_IN_V2_0 |
static String |
ABSENT_IN_V3_0 |
static String |
ALL_BUT_FIRST_IGNORED |
static String |
ATTRIBUTE |
static String |
ELEMENT |
static String |
IGNORED |
modCount| Modifier and Type | Method and Description |
|---|---|
void |
attributeIgnored(String attributeName) |
void |
attributeIgnored(String attributeName,
String reason) |
void |
elementIgnored(String elementName) |
void |
elementIgnored(String elementName,
String reason) |
void |
elementRecommendation(String elementName,
String recommendation) |
void |
elementRequiredIsAbsent_defaultApplied(String elementName,
String value) |
void |
elementUnimplemented(String elementName) |
String |
getTag()
Returns the current tag
|
String |
getTagChain() |
String |
getTagID()
Returns the "id" of the current tag; it may be
null. |
static Warnings |
getThreadLocal() |
String[] |
popTag()
Removes the current tag from the stack
|
void |
pushTag(String tag)
Pushes a new tag onto the tags' stack, making it the current tag.
|
void |
pushTag(String tag,
String id)
Pushes a new tag onto the tag's stack, along with its associated ID.
|
void |
setTagID(String tagID)
Sets or overrides the tagID for the current tag
|
void |
throwUnimplemented() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final String ATTRIBUTE
public static final String ELEMENT
public static final String IGNORED
public static final String ALL_BUT_FIRST_IGNORED
public static final String ABSENT_IN_V3_0
public static final String ABSENT_IN_V2_0
public Warnings(String tag)
public static Warnings getThreadLocal()
public String getTag()
public String getTagChain()
public String getTagID()
null.public String[] popTag()
public void pushTag(String tag)
ID is set
to @code null}.tag - the new current taggetTag()public void pushTag(String tag, String id)
tag - the new current tagid - the new current tag's ID. It may be null.public void setTagID(String tagID)
tagID - public void attributeIgnored(String attributeName)
public void elementIgnored(String elementName)
public void elementRequiredIsAbsent_defaultApplied(String elementName, String value)
public void elementUnimplemented(String elementName)
public void throwUnimplemented()
Copyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.