public class ParsingUtils extends Object
Constructor and Description |
---|
ParsingUtils() |
Modifier and Type | Method and Description |
---|---|
static XMLStreamException |
endOfDocument(Location location) |
static String |
getNextElement(XMLStreamReader reader,
String name,
Map<String,String> attributes,
boolean getElementText) |
static XMLStreamException |
missingAttributes(Location location,
Set<? extends Enum> requiredAttributes) |
static void |
parseNoContent(XMLStreamReader reader) |
static XMLStreamException |
unexpectedAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader,
int index) |
static XMLStreamException |
unexpectedContent(XMLStreamReader reader) |
static String |
wildcardToJavaRegexp(String expr) |
public static String getNextElement(XMLStreamReader reader, String name, Map<String,String> attributes, boolean getElementText) throws XMLStreamException
XMLStreamException
public static void parseNoContent(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static XMLStreamException unexpectedContent(XMLStreamReader reader)
public static XMLStreamException endOfDocument(Location location)
public static XMLStreamException missingAttributes(Location location, Set<? extends Enum> requiredAttributes)
public static XMLStreamException unexpectedAttribute(org.jboss.staxmapper.XMLExtendedStreamReader reader, int index)
Copyright © 2022 JBoss by Red Hat. All rights reserved.