Uses of Class
org.apache.juneau.parser.ParseException
Packages that use ParseException
Package
Description
JSON Schema Data Transfer Objects
CSV Marshalling Support
REST Server Utilities
-
Uses of ParseException in org.apache.juneau
Methods in org.apache.juneau that throw ParseExceptionModifier and TypeMethodDescriptionBeanMap.load
(Reader r, ReaderParser p) Convenience method for setting multiple property values by passing in a reader.Convenience method for setting multiple property values by passing in JSON text.Constructors in org.apache.juneau that throw ParseException -
Uses of ParseException in org.apache.juneau.annotation
Methods in org.apache.juneau.annotation that throw ParseExceptionModifier and TypeMethodDescriptionstatic JsonMap
Converts the specified@Schema annotation into a generic map.static JsonMap
ExternalDocsAnnotation.merge
(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMap
Merges the contents of the specified annotation into the specified generic map. -
Uses of ParseException in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema that throw ParseExceptionModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.BooleanOrSchemaSwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonSchemaOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonTypeOrJsonTypeArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) -
Uses of ParseException in org.apache.juneau.collections
Methods in org.apache.juneau.collections that throw ParseExceptionModifier and TypeMethodDescription<T> T
JsonMap.getSwapped
(String key, ObjectSwap<T, ?> objectSwap) Same asget()
, but converts the raw value to the specified class type using the specified POJO swap.static JsonList
Construct a list initialized with the specified reader containing JSON.static JsonList
JsonList.ofJson
(CharSequence json) Construct a list initialized with the specified JSON string.static JsonMap
Construct a map initialized with the specified reader containing JSON.static JsonMap
JsonMap.ofJson
(CharSequence json) Construct a map initialized with the specified JSON string.static JsonList
JsonList.ofJsonOrCdl
(String s) Parses a string that can consist of either a JSON array or comma-delimited list.static JsonList
Construct a list initialized with the specified string.static JsonList
JsonList.ofText
(CharSequence in, Parser p) Construct a list initialized with the specified string.static JsonMap
Construct a map initialized with the specified string.static JsonMap
JsonMap.ofText
(CharSequence in, Parser p) Construct a map initialized with the specified string.void
Convenience method for inserting JSON directly into an attribute on this object.Constructors in org.apache.juneau.collections that throw ParseExceptionModifierConstructorDescriptionConstruct a list initialized with the specified reader containing JSON.Construct a list initialized with the specified string.JsonList
(CharSequence json) Construct a list initialized with the specified JSON.JsonList
(CharSequence in, Parser p) Construct a list initialized with the specified string.Construct a map initialized with the specified reader containing JSON.Construct a map initialized with the specified string.JsonMap
(CharSequence json) Construct a map initialized with the specified JSON.JsonMap
(CharSequence in, Parser p) Construct a map initialized with the specified string. -
Uses of ParseException in org.apache.juneau.config
Methods in org.apache.juneau.config that throw ParseExceptionModifier and TypeMethodDescription<T> Optional<T>
Shortcut for callingasBean(sectionName, c,
.false )<T> Optional<T>
Converts this config file section to the specified bean instance.Entry.asList()
Returns this entry as a parsed list.Returns this entry as a parsed list.Entry.asMap()
Returns this entry as a parsed map.Returns this entry as a parsed map.Section.writeToBean
(Object bean, boolean ignoreUnknownProperties) Copies the entries in this section to the specified bean by calling the public setters on that bean. -
Uses of ParseException in org.apache.juneau.csv
Methods in org.apache.juneau.csv that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
CsvParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.examples.parser
Methods in org.apache.juneau.examples.parser that throw ParseExceptionModifier and TypeMethodDescription<T> T
ImageParser.doParse
(ParserSession session, ParserPipe pipe, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.html
Methods in org.apache.juneau.html that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
HtmlParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) protected String
HtmlParserSession.getElementText
(XmlReader r) Identical toHtmlParserSession.parseText(XmlReader)
except assumes the current event is the opening tag.protected String
Parses CHARACTERS data.protected String
HtmlParserSession.parseWhitespaceElement
(XmlReader r) -
Uses of ParseException in org.apache.juneau.httppart
Subclasses of ParseException in org.apache.juneau.httppartModifier and TypeClassDescriptionclass
Exception thrown when an HTTP part fails schema validation during parsing.Methods in org.apache.juneau.httppart that throw ParseExceptionModifier and TypeMethodDescription<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
HttpPartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
SimplePartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) -
Uses of ParseException in org.apache.juneau.json
Methods in org.apache.juneau.json that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
JsonParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) protected <E> Collection<E>
JsonParserSession.doParseIntoCollection
(ParserPipe pipe, Collection<E> c, Type elementType) protected <K,
V> Map<K, V> JsonParserSession.doParseIntoMap
(ParserPipe pipe, Map<K, V> m, Type keyType, Type valueType) -
Uses of ParseException in org.apache.juneau.jsonschema
Methods in org.apache.juneau.jsonschema that throw ParseException -
Uses of ParseException in org.apache.juneau.marshaller
Methods in org.apache.juneau.marshaller that throw ParseExceptionModifier and TypeMethodDescriptionfinal <T> T
Same asMarshaller.read(Object,Class)
but reads from a string and thus doesn't throw anIOException .final <T> T
Same asMarshaller.read(Object,Type,Type...)
but reads from a string and thus doesn't throw anIOException .final <T> T
Same asMarshaller.read(Object, Type, Type...)
except optimized for a non-parameterized class.final <T> T
Parses input into the specified object type.final <T> T
Same asMarshaller.read(Object,Class)
but reads from a byte array and thus doesn't throw anIOException .final <T> T
Same asMarshaller.read(Object,Type,Type...)
but reads from a byte array and thus doesn't throw anIOException .static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses a JSON input string to the specified type.static <T> T
Parses a JSON input string to the specified Java type.static <T> T
Parses an HTML input object to the specified Java type.static <T> T
Parses an HTML input object to the specified Java type.static <T> T
Parses an HTML input string to the specified type.static <T> T
Parses an HTML input string to the specified Java type.static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses a JSON input string to the specified type.static <T> T
Parses a JSON input string to the specified Java type.static <T> T
Parses a JSON input string to the specified type.static <T> T
Parses a JSON input string to the specified Java type.static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses a JSON input object to the specified Java type.static <T> T
Parses an OpenApi input object to the specified Java type.static <T> T
Parses an OpenApi input object to the specified Java type.static <T> T
Parses an OpenApi input string to the specified type.static <T> T
Parses an OpenApi input string to the specified Java type.static <T> T
OpenApi.to
(HttpPartSchema schema, String input, Class<T> type) Parses an OpenApi input object to the specified Java type.static <T> T
Parses a Plain Text input object to the specified Java type.static <T> T
Parses a Plain Text input object to the specified Java type.static <T> T
Parses a Plain Text input string to the specified type.static <T> T
Parses a Plain Text input string to the specified Java type.static <T> T
Parses a UON input object to the specified Java type.static <T> T
Parses a UON input object to the specified Java type.static <T> T
Parses a UON input string to the specified type.static <T> T
Parses a UON input string to the specified Java type.static <T> T
Parses a URL-Encoded input object to the specified Java type.static <T> T
Parses a URL-Encoded input object to the specified Java type.static <T> T
Parses a URL-Encoded input string to the specified type.static <T> T
Parses a URL-Encoded input string to the specified Java type.static <T> T
Parses an XML input object to the specified Java type.static <T> T
Parses an XML input object to the specified Java type.static <T> T
Parses an XML input string to the specified type.static <T> T
Parses an XML input string to the specified Java type. -
Uses of ParseException in org.apache.juneau.microservice
Methods in org.apache.juneau.microservice that throw ParseExceptionConstructors in org.apache.juneau.microservice that throw ParseException -
Uses of ParseException in org.apache.juneau.microservice.jetty
Methods in org.apache.juneau.microservice.jetty that throw ParseExceptionModifier and TypeMethodDescriptionorg.eclipse.jetty.server.Server
JettyMicroservice.createServer()
Method used to create (but not start) an instance of a Jetty server.JettyMicroservice.init()
Constructors in org.apache.juneau.microservice.jetty that throw ParseExceptionModifierConstructorDescriptionprotected
Constructor. -
Uses of ParseException in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
MsgPackParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.oapi
Methods in org.apache.juneau.oapi that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
OpenApiParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) <T> T
OpenApiParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.objecttools
Methods in org.apache.juneau.objecttools that throw ParseExceptionModifier and TypeMethodDescription<T> T
ObjectIntrospector.invokeMethod
(Class<T> returnType, Method method, Reader args) Primary method.<T> T
ObjectIntrospector.invokeMethod
(Class<T> returnType, String method, String args) Convenience method for invoking argument from method signature (@seeMethodInfo.getSignature()
.ObjectIntrospector.invokeMethod
(Method method, Reader args) Primary method.ObjectIntrospector.invokeMethod
(String method, String args) Convenience method for invoking argument from method signature (@seeMethodInfo.getSignature()
.ObjectRest.invokeMethod
(String url, String method, String args) Executes the specified method with the specified parameters on the specified object. -
Uses of ParseException in org.apache.juneau.parser
Methods in org.apache.juneau.parser that return ParseExceptionModifier and TypeMethodDescriptionstatic ParseException
Creator method.ParseException.getRootCause()
Returns the highest-levelParseException in the stack trace.Methods in org.apache.juneau.parser that throw ParseExceptionModifier and TypeMethodDescriptionprotected final <T> T
ParserSession.convertAttrToType
(Object outer, String s, ClassMeta<T> type) Converts the specified string to the specified type.<T> T
Parser.doParse
(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected <T> T
ParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected final <T> void
ParserSession.onUnknownProperty
(String propertyName, BeanMap<T> beanMap, Object value) Method that gets called when an unknown bean property name is encountered.final <T> T
Same asParser.parse(Object, Type, Type...)
except optimized for a non-parameterized class.final <T> T
Parses input into the specified object type.final <T> T
Same asParser.parse(Object, Type, Type...)
except the type has already been converted into aClassMeta
object.final <T> T
final <T> T
Same asParser.parse(Object, Type, Type...)
but since it's aString
input doesn't throw anIOException
.final <T> T
final <T> T
Same asParserSession.parse(Object, Type, Type...)
except optimized for a non-parameterized class.final <T> T
Parses input into the specified object type.final <T> T
Same asParserSession.parse(Object, Type, Type...)
except the type has already been converted into aClassMeta
object.final <T> T
Same asParserSession.parse(Object, Class)
but parses from a string and doesn't throw anIOException
.final <T> T
Same asParserSession.parse(Object,Type,Type...)
but parses from a string and doesn't throw anIOException
.final <T> T
Same asParserSession.parse(Object, ClassMeta)
except parses from a string and doesn't throw anIOException
.final Object[]
Parses the specified array input with each entry in the object defined by theargTypes
argument.final Object[]
Parses the specified array input with each entry in the object defined by theargTypes
argument.final <E> Collection<E>
Parser.parseIntoCollection
(Object input, Collection<E> c, Type elementType) Parses the contents of the specified reader and loads the results into the specified collection.final <E> Collection<E>
ParserSession.parseIntoCollection
(Object input, Collection<E> c, Type elementType) Parses the contents of the specified reader and loads the results into the specified collection.final <K,
V> Map<K, V> Parser.parseIntoMap
(Object input, Map<K, V> m, Type keyType, Type valueType) Parses the contents of the specified reader and loads the results into the specified map.final <K,
V> Map<K, V> ParserSession.parseIntoMap
(Object input, Map<K, V> m, Type keyType, Type valueType) Parses the contents of the specified reader and loads the results into the specified map.protected Object
ParserSession.unswap
(ObjectSwap swap, Object o, ClassMeta<?> eType) Invokes the specified swap on the specified object. -
Uses of ParseException in org.apache.juneau.plaintext
Methods in org.apache.juneau.plaintext that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
PlainTextParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.rest.util
Methods in org.apache.juneau.rest.util that throw ParseExceptionModifier and TypeMethodDescriptionstatic Object
RestUtils.parseAnything
(String s) Parses a string that can consist of a simple string or JSON object/array. -
Uses of ParseException in org.apache.juneau.swap
Methods in org.apache.juneau.swap that throw ParseExceptionModifier and TypeMethodDescriptionAutoListSwap.unswap
(BeanSession session, List<?> o, ClassMeta<?> hint) AutoMapSwap.unswap
(BeanSession session, Map<?, ?> o, ClassMeta<?> hint) AutoNumberSwap.unswap
(BeanSession session, Number o, ClassMeta<?> hint) AutoObjectSwap.unswap
(BeanSession session, Object f, ClassMeta<?> hint) SurrogateSwap.unswap
(BeanSession session, F f, ClassMeta<?> hint) -
Uses of ParseException in org.apache.juneau.uon
Methods in org.apache.juneau.uon that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
UonParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) <T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
UonParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) <T> T
UonParserSession.parseAnything
(ClassMeta<?> eType, UonReader r, Object outer, boolean isUrlParamValue, BeanPropertyMeta pMeta) Workhorse method.protected final Object
Convenience method for parsing an attribute from the specified parser.protected final String
UonParserSession.parseAttrName
(UonReader r, boolean encoded) Parses an attribute name from the specified reader.protected final String
UonParserSession.parseString
(UonReader r, boolean isUrlParamValue) Parses a string value from the specified reader. -
Uses of ParseException in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
UrlEncodingParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) -
Uses of ParseException in org.apache.juneau.xml
Methods in org.apache.juneau.xml that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> T
XmlParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) protected String
XmlParserSession.getElementText
(XmlReader r) Returns the text content of the current XML element.protected <T> T
XmlParserSession.parseAnything
(ClassMeta<T> eType, String currAttr, XmlReader r, Object outer, boolean isRoot, BeanPropertyMeta pMeta) Workhorse method.protected String
Parses the current element as text.protected String
XmlParserSession.parseWhitespaceElement
(XmlReader r) Parses the current whitespace element.