|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.icu.text.MessagePattern.Part
public static final class MessagePattern.Part
A message pattern "part", representing a pattern parsing event. There is a part for the start and end of a message or argument, for quoting and escaping of and with ASCII apostrophes, and for syntax elements of "complex" arguments.
Nested Class Summary | |
---|---|
static class |
MessagePattern.Part.Type
Part type constants. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
MessagePattern.ArgType |
getArgType()
Returns the argument type if this part is of type ARG_START or ARG_LIMIT, otherwise ArgType.NONE. |
int |
getIndex()
Returns the pattern string index associated with this Part. |
int |
getLength()
Returns the length of the pattern substring associated with this Part. |
int |
getLimit()
Returns the pattern string limit (exclusive-end) index associated with this Part. |
MessagePattern.Part.Type |
getType()
Returns the type of this part. |
int |
getValue()
Returns a value associated with this part. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public MessagePattern.Part.Type getType()
public int getIndex()
public int getLength()
public int getLimit()
public int getValue()
public MessagePattern.ArgType getArgType()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
other
- another object to compare with.
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |