public class CsnIterator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_NAME |
static int |
ATTRIBUTE_PATH |
static int |
ATTRIBUTE_TYPE |
static int |
CLASS_NAME |
static int |
COLLECTION_ATTRIBUTE |
static int |
COLLECTION_ATTRIBUTE_TYPE |
static int |
COMPONENT_NAME |
static int |
END_DEFINITION |
static int |
END_DOCUMENT |
static int |
EXCLUDE_TYPE |
static int |
FLOAT_VALUE |
static int |
FORCE_TYPE |
static int |
INTEGER_VALUE |
static int |
OPTIONAL_ATTRIBUTE |
static int |
START_DEFINITION |
static int |
START_DOCUMENT |
static int |
STRING_ATTRIBUTE |
static int |
STRING_ATTRIBUTE_LENGTH |
static int |
STRING_LENGTH |
static int |
TAG_NAME |
static int |
UNKNOWN |
static int |
VALUE |
| Constructor and Description |
|---|
CsnIterator(File file) |
CsnIterator(String fileName,
InputStream in) |
CsnIterator(String fileName,
Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
getBooleanValue() |
int |
getEventType() |
float |
getFloatValue() |
int |
getIntegerValue() |
int |
getNextEventType() |
String |
getPathValue() |
String |
getStringValue() |
Object |
getValue() |
int |
next() |
void |
processAttributes() |
void |
processClassAttributes() |
void |
processComments() |
void |
processComponent(String componentName) |
void |
processDefaults() |
void |
processRestricted() |
void |
processSubclass() |
void |
processValues() |
String |
toString() |
public static final int ATTRIBUTE_NAME
public static final int ATTRIBUTE_PATH
public static final int ATTRIBUTE_TYPE
public static final int CLASS_NAME
public static final int COLLECTION_ATTRIBUTE
public static final int COLLECTION_ATTRIBUTE_TYPE
public static final int COMPONENT_NAME
public static final int END_DEFINITION
public static final int END_DOCUMENT
public static final int EXCLUDE_TYPE
public static final int FLOAT_VALUE
public static final int FORCE_TYPE
public static final int INTEGER_VALUE
public static final int OPTIONAL_ATTRIBUTE
public static final int START_DEFINITION
public static final int START_DOCUMENT
public static final int STRING_ATTRIBUTE
public static final int STRING_ATTRIBUTE_LENGTH
public static final int STRING_LENGTH
public static final int TAG_NAME
public static final int UNKNOWN
public static final int VALUE
public CsnIterator(File file) throws IOException
IOExceptionpublic CsnIterator(String fileName, InputStream in) throws IOException
IOExceptionpublic CsnIterator(String fileName, Reader reader) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic boolean getBooleanValue()
public int getEventType()
public float getFloatValue()
public int getIntegerValue()
public int getNextEventType()
public String getPathValue()
public String getStringValue()
public Object getValue()
public int next()
throws IOException
IOExceptionpublic void processAttributes()
throws IOException
IOExceptionpublic void processClassAttributes()
throws IOException
IOExceptionpublic void processComments()
throws IOException
IOExceptionpublic void processComponent(String componentName) throws IOException
IOExceptionpublic void processDefaults()
throws IOException
IOExceptionpublic void processRestricted()
throws IOException
IOExceptionpublic void processSubclass()
throws IOException
IOExceptionpublic void processValues()
throws IOException
IOExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.