org.rococoa.cocoa.quicktime
Class XMLElement

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.quicktime.XMLElement
Direct Known Subclasses:
XMLElement.ByReference, XMLElement.ByValue

public class XMLElement
extends com.ochafik.lang.jnaerator.runtime.Structure

An XML Element, i.e.
[contents]
or

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class XMLElement.ByReference
           
static class XMLElement.ByValue
           
 
Field Summary
 XMLAttribute.ByReference attributes
           
 XMLContent.ByReference contents
           
 int identifier
           
 ByteByReference name
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
XMLElement()
           
XMLElement(int identifier, ByteByReference name, XMLAttribute.ByReference attributes, XMLContent.ByReference contents)
           
 
Method Summary
 XMLElement.ByReference byReference()
           
 XMLElement.ByValue byValue()
           
 XMLElement clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

public int identifier

name

public ByteByReference name

attributes

public XMLAttribute.ByReference attributes

contents

public XMLContent.ByReference contents
Constructor Detail

XMLElement

public XMLElement()

XMLElement

public XMLElement(int identifier,
                  ByteByReference name,
                  XMLAttribute.ByReference attributes,
                  XMLContent.ByReference contents)
Parameters:
identifier - Tokenized identifier, if the element name was recognized by the parser
name - Element name, only present if identifier == xmlIdentifierUnrecognized
attributes - Array of attributes, terminated with an attribute with identifier == xmlIdentifierInvalid
contents - Array of contents, terminated with a content with kind == xmlIdentifierInvalid
Method Detail

byReference

public XMLElement.ByReference byReference()

byValue

public XMLElement.ByValue byValue()

clone

public XMLElement clone()
Overrides:
clone in class Object