Mercurial > projects > dwt2
diff base/src/java/text/AttributedCharacterIterator.d @ 99:5d5bd660917f
build some databind snippets
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 22 Apr 2009 18:59:26 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/base/src/java/text/AttributedCharacterIterator.d Wed Apr 22 18:59:26 2009 +0200 @@ -0,0 +1,54 @@ +module java.text.AttributedCharacterIterator; + +import java.text.CharacterIterator; +import java.util.Set; +import java.util.Map; +import java.lang.all; + +interface AttributedCharacterIterator : CharacterIterator { + static class Attribute { + static AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT; + static AttributedCharacterIterator.Attribute LANGUAGE; + static AttributedCharacterIterator.Attribute READING; + + protected this(String name){ + implMissing(__FILE__, __LINE__); + } + + override equals_t opEquals(Object obj){ + implMissing(__FILE__, __LINE__); + return false; + } + + protected String getName(){ + implMissing(__FILE__, __LINE__); + return null; + } + + override hash_t toHash(){ + implMissing(__FILE__, __LINE__); + return 0; + } + + protected Object readResolve(){ + implMissing(__FILE__, __LINE__); + return null; + } + + String toString(){ + implMissing(__FILE__, __LINE__); + return null; + } + + } + Set getAllAttributeKeys(); + Object getAttribute(AttributedCharacterIterator.Attribute attribute); + Map getAttributes(); + int getRunLimit(); + int getRunLimit(AttributedCharacterIterator.Attribute attribute); + int getRunLimit(Set attributes); + int getRunStart(); + int getRunStart(AttributedCharacterIterator.Attribute attribute); + int getRunStart(Set attributes); +} +