Searched refs:lexicalRepresentation (Results 1 - 9 of 9) sorted by relevance

/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDatatypeFactoryImpl.java94 * @param lexicalRepresentation <code>String</code> representation of a <code>Duration</code>.
96 * @return New <code>Duration</code> created from parsing the <code>lexicalRepresentation</code>.
98 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code>.
100 * @throws NullPointerException if <code>lexicalRepresentation</code> is <code>null</code>.
102 public Duration newDuration(final String lexicalRepresentation) { argument
104 return new DurationImpl(lexicalRepresentation);
276 * @param lexicalRepresentation Lexical representation of a duration.
278 * @return New <code>Duration</code> created using the specified <code>lexicalRepresentation</code>.
280 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code> expressed only in terms of years and months.
282 * @throws NullPointerException If <code>lexicalRepresentation</cod
284 newDurationYearMonth( final String lexicalRepresentation) argument
354 newDurationDayTime(final String lexicalRepresentation) argument
534 newXMLGregorianCalendar(final String lexicalRepresentation) argument
[all...]
H A DDurationYearMonthImpl.java166 * @param lexicalRepresentation Lexical representation of a duration.
168 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code> expressed only in terms of years and months.
170 * @throws NullPointerException If <code>lexicalRepresentation</code> is <code>null</code>.
172 protected DurationYearMonthImpl(String lexicalRepresentation) { argument
173 super(lexicalRepresentation);
178 + " lexical representation of \"" + lexicalRepresentation
H A DDurationDayTimeImpl.java98 * @param lexicalRepresentation Lexical representation of a duration.
100 * @throws IllegalArgumentException If <code>lexicalRepresentation</code> is not a valid representation of a <code>Duration</code> expressed only in terms of days and time.
102 * @throws NullPointerException If <code>lexicalRepresentation</code> is <code>null</code>.
104 protected DurationDayTimeImpl(String lexicalRepresentation) { argument
105 super(lexicalRepresentation);
110 + " lexical representation of \"" + lexicalRepresentation
H A DDurationImpl.java436 * indicated by the lexicalRepresentation parameter.
438 * @param lexicalRepresentation
446 protected DurationImpl(String lexicalRepresentation) argument
450 if (lexicalRepresentation == null) {
454 final String s = lexicalRepresentation;
H A DXMLGregorianCalendarImpl.java367 * value indicated by the lexicalRepresentation parameter.
369 * @param lexicalRepresentation
378 protected XMLGregorianCalendarImpl(String lexicalRepresentation) argument
383 String lexRep = lexicalRepresentation;
410 // gMonthDay, --MM-DD(z?), (or invalid lexicalRepresentation)
446 // Date or invalid lexicalRepresentation
457 DatatypeMessageFormatter.formatMessage(null, "InvalidXGCRepresentation", new Object[]{lexicalRepresentation})
458 //"\"" + lexicalRepresentation + "\" is not a valid representation of an XML Gregorian Calendar value."
1783 * indicated by the lexicalRepresentation parameter.</p>
1785 * @param lexicalRepresentation Lexica
1795 parse(String lexicalRepresentation) argument
[all...]
/openjdk9/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/src/DefaultFactoryWrapperTest/xmlwrapperprovider/xwp/
H A DDatatypeFactoryWrapper.java38 public Duration newDuration(String lexicalRepresentation) { argument
39 return defaultImpl.newDuration(lexicalRepresentation);
59 public XMLGregorianCalendar newXMLGregorianCalendar(String lexicalRepresentation) { argument
60 return defaultImpl.newXMLGregorianCalendar(lexicalRepresentation);
/openjdk9/jaxp/src/java.xml/share/classes/javax/xml/datatype/
H A DDatatypeFactory.java236 * @param lexicalRepresentation {@code String} representation of a {@code Duration}.
238 * @return New {@code Duration} created from parsing the {@code lexicalRepresentation}.
240 * @throws IllegalArgumentException If {@code lexicalRepresentation} is not a valid representation of a {@code Duration}.
242 * @throws NullPointerException if {@code lexicalRepresentation} is {@code null}.
244 public abstract Duration newDuration(final String lexicalRepresentation); argument
403 * @param lexicalRepresentation Lexical representation of a duration.
405 * @return New {@code Duration} created using the specified {@code lexicalRepresentation}.
407 * @throws IllegalArgumentException If {@code lexicalRepresentation} is
410 * @throws NullPointerException If {@code lexicalRepresentation} is {@code null}.
412 public Duration newDurationDayTime(final String lexicalRepresentation) { argument
592 newDurationYearMonth( final String lexicalRepresentation) argument
772 newXMLGregorianCalendar(final String lexicalRepresentation) argument
[all...]
/openjdk9/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/src/xmlprovider2/xp2/
H A DDatatypeFactoryImpl.java37 public Duration newDuration(String lexicalRepresentation) { argument
58 public XMLGregorianCalendar newXMLGregorianCalendar(String lexicalRepresentation) { argument
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/datatype/
H A DDurationTest.java117 String lexicalRepresentation = "P" + year + "Y" + month + "M" + day + "DT" + hour + "H" + min + "M" + sec + "S";
119 Duration dur = DatatypeFactory.newInstance().newDuration(lexicalRepresentation);
258 "P0Y0M0DT0H0M61S", // lexicalRepresentation
269 "-P0Y0M0DT0H0M61S", // lexicalRepresentation
282 "P0Y0M0DT0H1M1.000S", // normalized lexicalRepresentation
293 "-P0Y0M0DT0H1M1.000S" // normalized lexicalRepresentation
315 (String) TEST_VALUES[onValue + 8], // lexicalRepresentation
317 // lexicalRepresentation
337 (String) TEST_VALUES[onValue + 8], // lexicalRepresentation
339 // lexicalRepresentation
343 newDurationTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months, BigInteger normalizedMonths, BigInteger days, BigInteger normalizedDays, BigInteger hours, BigInteger normalizedHours, BigInteger minutes, BigInteger normalizedMinutes, BigDecimal seconds, BigDecimal normalizedSeconds, long durationInMilliSeconds, long normalizedDurationInMilliSeconds, String lexicalRepresentation, String normalizedLexicalRepresentation) argument
380 newDurationDayTimeTester(boolean isPositive, boolean normalizedIsPositive, BigInteger years, BigInteger normalizedYears, BigInteger months, BigInteger normalizedMonths, BigInteger days, BigInteger normalizedDays, BigInteger hours, BigInteger normalizedHours, BigInteger minutes, BigInteger normalizedMinutes, BigDecimal seconds, BigDecimal normalizedSeconds, long durationInMilliSeconds, long normalizedDurationInMilliSeconds, String lexicalRepresentation, String normalizedLexicalRepresentation) argument
[all...]

Completed in 115 milliseconds