(
CharSequence text,
ParsePosition status,
AttributeQuery attributes
)
| 956 | } |
| 957 | |
| 958 | @Override |
| 959 | public String parse( |
| 960 | CharSequence text, |
| 961 | ParsePosition status, |
| 962 | AttributeQuery attributes |
| 963 | ) { |
| 964 | |
| 965 | int index = status.getIndex(); |
| 966 | OutputContext oc = attributes.get(Attributes.OUTPUT_CONTEXT, OutputContext.FORMAT); |
| 967 | String result = this.parse(text, status, attributes, oc); |
| 968 | |
| 969 | if ((result == null) && attributes.get(Attributes.PARSE_MULTIPLE_CONTEXT, Boolean.TRUE)) { |
| 970 | status.setErrorIndex(-1); |
| 971 | status.setIndex(index); |
| 972 | oc = ((oc == OutputContext.FORMAT) ? OutputContext.STANDALONE : OutputContext.FORMAT); |
| 973 | result = this.parse(text, status, attributes, oc); |
| 974 | } |
| 975 | |
| 976 | return result; |
| 977 | |
| 978 | } |
| 979 | |
| 980 | private String parse( |
| 981 | CharSequence text, |
nothing calls this directly
no test coverage detected