Uses of Class
org.apache.juneau.parser.ParseException
Packages that use ParseException
Package
Description
Marshalling API
Bean and POJO Annotations
JSON Schema Data Transfer Objects
Collections classes
Configuration Support
CSV Marshalling Support
Parser Examples
HTML Marshalling Support
HTTP Part Marshalling Support
JSON Marshalling Support
JSON-Schema Marshalling Support
Marshallers
Microservice API
Microservice API
MessagePack Marshalling Support
OpenAPI Marshalling Support
Java Object Tools
Parser API
Plaintext Marshalling Support
REST Server Utilities
Swap API
UON Marshalling Support
URL-Encoding Marshalling Support
XML Marshalling Support
-
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 JsonMapConverts the specified@Schema annotation into a generic map.static JsonMapExternalDocsAnnotation.merge(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMapMerges 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> TJsonMap.getSwapped(String key, ObjectSwap<T, ?> objectSwap) Same asget(), but converts the raw value to the specified class type using the specified POJO swap.static JsonListConstruct a list initialized with the specified reader containing JSON.static JsonListJsonList.ofJson(CharSequence json) Construct a list initialized with the specified JSON string.static JsonMapConstruct a map initialized with the specified reader containing JSON.static JsonMapJsonMap.ofJson(CharSequence json) Construct a map initialized with the specified JSON string.static JsonListJsonList.ofJsonOrCdl(String s) Parses a string that can consist of either a JSON array or comma-delimited list.static JsonListConstruct a list initialized with the specified string.static JsonListJsonList.ofText(CharSequence in, Parser p) Construct a list initialized with the specified string.static JsonMapConstruct a map initialized with the specified string.static JsonMapJsonMap.ofText(CharSequence in, Parser p) Construct a map initialized with the specified string.voidConvenience 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> TCsvParserSession.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> TImageParser.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> THtmlParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) protected StringHtmlParserSession.getElementText(XmlReader r) Identical toHtmlParserSession.parseText(XmlReader)except assumes the current event is the opening tag.protected StringParses CHARACTERS data.protected StringHtmlParserSession.parseWhitespaceElement(XmlReader r) -
Uses of ParseException in org.apache.juneau.httppart
Subclasses of ParseException in org.apache.juneau.httppartModifier and TypeClassDescriptionclassException thrown when an HTTP part fails schema validation during parsing.Methods in org.apache.juneau.httppart that throw ParseExceptionModifier and TypeMethodDescription<T> TBaseHttpPartParser.parse(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> TBaseHttpPartParser.parse(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> TBaseHttpPartParser.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> THttpPartParserSession.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TSimplePartParserSession.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> TJsonParserSession.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> TSame asMarshaller.read(Object,Class)but reads from a string and thus doesn't throw anIOException .final <T> TSame asMarshaller.read(Object,Type,Type...)but reads from a string and thus doesn't throw anIOException .final <T> TSame asMarshaller.read(Object, Type, Type...)except optimized for a non-parameterized class.final <T> TParses input into the specified object type.final <T> TSame asMarshaller.read(Object,Class)but reads from a byte array and thus doesn't throw anIOException .final <T> TSame asMarshaller.read(Object,Type,Type...)but reads from a byte array and thus doesn't throw anIOException .static <T> TParses a JSON input object to the specified Java type.static <T> TParses a JSON input object to the specified Java type.static <T> TParses a JSON input string to the specified type.static <T> TParses a JSON input string to the specified Java type.static <T> TParses an HTML input object to the specified Java type.static <T> TParses an HTML input object to the specified Java type.static <T> TParses an HTML input string to the specified type.static <T> TParses an HTML input string to the specified Java type.static <T> TParses a JSON input object to the specified Java type.static <T> TParses a JSON input object to the specified Java type.static <T> TParses a JSON input string to the specified type.static <T> TParses a JSON input string to the specified Java type.static <T> TParses a JSON input string to the specified type.static <T> TParses a JSON input string to the specified Java type.static <T> TParses a JSON input object to the specified Java type.static <T> TParses a JSON input object to the specified Java type.static <T> TParses an OpenApi input object to the specified Java type.static <T> TParses an OpenApi input object to the specified Java type.static <T> TParses an OpenApi input string to the specified type.static <T> TParses an OpenApi input string to the specified Java type.static <T> TOpenApi.to(HttpPartSchema schema, String input, Class<T> type) Parses an OpenApi input object to the specified Java type.static <T> TParses a Plain Text input object to the specified Java type.static <T> TParses a Plain Text input object to the specified Java type.static <T> TParses a Plain Text input string to the specified type.static <T> TParses a Plain Text input string to the specified Java type.static <T> TParses a UON input object to the specified Java type.static <T> TParses a UON input object to the specified Java type.static <T> TParses a UON input string to the specified type.static <T> TParses a UON input string to the specified Java type.static <T> TParses a URL-Encoded input object to the specified Java type.static <T> TParses a URL-Encoded input object to the specified Java type.static <T> TParses a URL-Encoded input string to the specified type.static <T> TParses a URL-Encoded input string to the specified Java type.static <T> TParses an XML input object to the specified Java type.static <T> TParses an XML input object to the specified Java type.static <T> TParses an XML input string to the specified type.static <T> TParses 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.ServerJettyMicroservice.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 ParseExceptionModifierConstructorDescriptionprotectedConstructor. -
Uses of ParseException in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack that throw ParseExceptionModifier and TypeMethodDescriptionprotected <T> TMsgPackParserSession.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> TOpenApiParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) <T> TOpenApiParserSession.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> TObjectIntrospector.invokeMethod(Class<T> returnType, Method method, Reader args) Primary method.<T> TObjectIntrospector.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 ParseExceptionCreator method.ParseException.getRootCause()Returns the highest-levelParseException in the stack trace.ParseException.setMessage(String message, Object... args) Methods in org.apache.juneau.parser that throw ParseExceptionModifier and TypeMethodDescriptionprotected final <T> TParserSession.convertAttrToType(Object outer, String s, ClassMeta<T> type) Converts the specified string to the specified type.<T> TParser.doParse(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected <T> TParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected final <T> voidParserSession.onUnknownProperty(String propertyName, BeanMap<T> beanMap, Object value) Method that gets called when an unknown bean property name is encountered.final <T> TSame asParser.parse(Object, Type, Type...)except optimized for a non-parameterized class.final <T> TParses input into the specified object type.final <T> TSame asParser.parse(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> Tfinal <T> TSame asParser.parse(Object, Type, Type...)but since it's aStringinput doesn't throw anIOException.final <T> Tfinal <T> TSame asParserSession.parse(Object, Type, Type...)except optimized for a non-parameterized class.final <T> TParses input into the specified object type.final <T> TSame asParserSession.parse(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> TSame asParserSession.parse(Object, Class)but parses from a string and doesn't throw anIOException.final <T> TSame asParserSession.parse(Object,Type,Type...)but parses from a string and doesn't throw anIOException.final <T> TSame 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 theargTypesargument.final Object[]Parses the specified array input with each entry in the object defined by theargTypesargument.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 ObjectParserSession.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> TPlainTextParserSession.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 ObjectRestUtils.parseIfJson(String value) Parses a string as JSON if it appears to be JSON, otherwise returns the string as-is. -
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> TUonParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) <T> TUonParser.parse(HttpPartType partType, HttpPartSchema schema, String in, Class<T> toType) Converts the specified input to the specified class type.<T> TUonParser.parse(HttpPartType partType, HttpPartSchema schema, String in, Type toType, Type... toTypeArgs) Converts the specified input to the specified class type.<T> TUonParser.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TUonParserSession.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) <T> TUonParserSession.parseAnything(ClassMeta<?> eType, UonReader r, Object outer, boolean isUrlParamValue, BeanPropertyMeta pMeta) Workhorse method.protected final ObjectConvenience method for parsing an attribute from the specified parser.protected final StringUonParserSession.parseAttrName(UonReader r, boolean encoded) Parses an attribute name from the specified reader.protected final StringUonParserSession.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> TUrlEncodingParserSession.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> TXmlParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) protected StringXmlParserSession.getElementText(XmlReader r) Returns the text content of the current XML element.protected <T> TXmlParserSession.parseAnything(ClassMeta<T> eType, String currAttr, XmlReader r, Object outer, boolean isRoot, BeanPropertyMeta pMeta) Workhorse method.protected StringParses the current element as text.protected StringXmlParserSession.parseWhitespaceElement(XmlReader r) Parses the current whitespace element.