|
WebObjects 5.4.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.eoapplication.EOXMLUnarchiver
public class EOXMLUnarchiver
EOXMLUnarchivers are used to unarchive objects (controllers and actions) from an XML description. Instances of EOXMLUnarchiver are passed to constructors of the objects to unarchive and can be used to retrieve the XML arguments.
| Constructor Summary | |
|---|---|
EOXMLUnarchiver(NSDictionary values)
Creates a new EOXMLUnarchiver. |
|
| Method Summary | |
|---|---|
int |
decodeAlignmentForKey(String key)
Returns an alignment ( JTextField.LEFT, JTextField.CENTER, or JTextField.RIGHT) for the
key XML attribute. |
int |
decodeAlignmentForKey(String key,
int defaultValueIfNotAvailable)
Returns an alignment ( JTextField.LEFT, JTextField.CENTER, or JTextField.RIGHT) for the
key XML attribute. |
NSArray |
decodeArrayForKey(String key)
Returns an NSArray specified as child in the XML with the name key
or null if key is not specified in the XML. |
NSArray |
decodeArrayForKey(String key,
NSArray defaultValueIfNotAvailable)
Returns an NSArray specified as child in the XML with the name key
or defaultValueIfNotAvailable if key is not specified in the XML. |
boolean |
decodeBooleanForKey(String key)
Returns a boolean for the key XML attribute. |
boolean |
decodeBooleanForKey(String key,
boolean defaultValueIfNotAvailable)
Returns a boolean for the key XML attribute. |
NSArray |
decodeChildren()
Returns an array containing the objects decoded as the receiver's children. |
Class |
decodeClassForKey(String key)
Returns a Class specified by name as the XML attribute key
or null if key is not specified in the XML. |
Class |
decodeClassForKey(String key,
Class defaultValueIfNotAvailable)
Returns a Class specified by name as the XML attribute key
or defaultValueIfNotAvailable if key is not specified in the XML. |
Color |
decodeColorForKey(String key)
Returns a Color for the key XML attribute. |
Color |
decodeColorForKey(String key,
Color defaultValueIfNotAvailable)
Returns a Color for the key XML attribute. |
NSDictionary |
decodeDictionaryForKey(String key)
Returns an NSDictionary specified as child in the XML with the name key
or null if key is not specified in the XML. |
NSDictionary |
decodeDictionaryForKey(String key,
NSDictionary defaultValueIfNotAvailable)
Returns an NSDictionary specified as child in the XML with the name key
or defaultValueIfNotAvailable if key is not specified in the XML. |
double |
decodeDoubleForKey(String key)
Returns a double for the key XML attribute. |
double |
decodeDoubleForKey(String key,
double defaultValueIfNotAvailable)
Returns an integer for the key XML attribute. |
int |
decodeEditabilityForKey(String key)
Returns a editability specification ( EOEditable.IfSupercontrollerEditable,
EOEditable.AlwaysEditable, or EOEditable.NeverEditable) for the key XML attribute. |
int |
decodeEditabilityForKey(String key,
int defaultValueIfNotAvailable)
Returns a editability specification ( EOEditable.IfSupercontrollerEditable,
EOEditable.AlwaysEditable, or EOEditable.NeverEditable) for the key XML attribute. |
Font |
decodeFontForKey(String key)
Returns a Font for the key XML attribute. |
Font |
decodeFontForKey(String key,
Font defaultValueIfNotAvailable)
Returns a Font for the key XML attribute. |
Insets |
decodeInsetsForKey(String key)
|
Insets |
decodeInsetsForKey(String key,
Insets defaultValueIfNotAvailable)
|
int |
decodeIntForKey(String key)
Returns an integer for the key XML attribute. |
int |
decodeIntForKey(String key,
int defaultValueIfNotAvailable)
Returns an integer for the key XML attribute. |
int |
decodePositionForKey(String key)
Returns a position ( EOComponentController.Top, EOComponentController.Bottom,
EOComponentController.Left, EOComponentController.Right, EOComponentController.TopLeft,
EOComponentController.TopRight, EOComponentController.BottomLeft,
or EOComponentController.BottomRight) for the key XML attribute. |
int |
decodePositionForKey(String key,
int defaultValueIfNotAvailable)
Returns a position ( EOComponentController.Top, EOComponentController.Bottom,
EOComponentController.Left, EOComponentController.Right, EOComponentController.TopLeft,
EOComponentController.TopRight, EOComponentController.BottomLeft,
or EOComponentController.BottomRight) for the key XML attribute. |
static Object |
decodeRootObject(NSDictionary rootObjectValues)
Decodes the top object in an XML description, which is represented by an NSDictionary. |
String |
decodeStringForKey(String key)
Returns a String for the key XML attribute. |
String |
decodeStringForKey(String key,
String defaultValueIfNotAvailable)
Returns a String for the key XML attribute. |
Object |
decodeValueForKey(String key)
Returns an Object for the key XML attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ClassNameParameter
public static final String TypeNameParameter
public static final String KeyValuePairsParameter
public static final String ArchiveNameParameter
public static final String SharedIdentifierParameter
public static final String EntityParameter
public static final String TitlesEntityParameter
public static final String EnabledKeyParameter
public static final String ValueKeyParameter
public static final String MinimumValueKeyParameter
public static final String MaximumValueKeyParameter
public static final String ActionKeyParameter
public static final String URLKeyParameter
public static final String TitleKeysParameter
public static final String DetailKeysParameter
public static final String DetailRelationshipPathParameter
public static final String ChildrenKeyParameter
public static final String IsLeafKeyParameter
public static final String RootKeyParameter
public static final String IconKeyParameter
public static final String ExpandedIconKeyParameter
public static final String ParentKeyParameter
public static final String IndexKeyParameter
public static final String AvailableTitlesKeyParameter
public static final String RelationshipPathParameter
public static final String MandatoryRelationshipPathsParameter
public static final String SuppressesAssociationParameter
public static final String PrefersContinuousChangeNotificationParameter
public static final String EditingContextProviderMethodNameParameter
public static final String DisplayGroupProviderMethodNameParameter
public static final String EnabledDisplayGroupProviderMethodNameParameter
public static final String TitlesDisplayGroupProviderMethodNameParameter
public static final String FetchesOnConnectEnabledParameter
public static final String SearchesTitlesObjectsInEditingContextParameter
public static final String ResetTitlesObjectsOnEveryConnectParameter
public static final String IsQueryWidgetParameter
public static final String EditabilityParameter
public static final String AllowsMultipleSelectionParameter
public static final String AllowsDiscontiguousSelectionParameter
public static final String AllowsRemoveAllParameter
public static final String AllowsDuplicatesParameter
public static final String IsRootVisibleParameter
public static final String AllowsOneTouchExpandableParameter
public static final String AllowsSnapToZeroParameter
public static final String SortsByColumnOrderParameter
public static final String RunsConfirmDialogForEmptyQualifiers
public static final String AlignsComponentsParameter
public static final String MinimumWidthParameter
public static final String MinimumHeightParameter
public static final String MinimumWidgetWidthParameter
public static final String MinimumWidgetHeightParameter
public static final String LabelComponentWidthParameter
public static final String FormatAllowedParameter
public static final String FormatClassParameter
public static final String FormatPatternParameter
public static final String DisplayPatternParameter
public static final String BorderTypeParameter
public static final String HorizontalBorderParameter
public static final String VerticalBorderParameter
public static final String HorizontallyResizableParameter
public static final String VerticallyResizableParameter
public static final String AlignmentParameter
public static final String LabelAlignmentParameter
public static final String ImageScalingParameter
public static final String ScalingHintsParameter
public static final String QuickTimeCanvasResizingParameter
public static final String WindowPositionParameter
public static final String TitlePositionParameter
public static final String ActionWidgetPositionParameter
public static final String ButtonPositionParameter
public static final String LabelComponentPositionParameter
public static final String UsesHorizontalLayoutParameter
public static final String UsesContinuousLayoutParameter
public static final String ResizeWeightParameter
public static final String PrefersIconOnlyParameter
public static final String UsesLargeButtonRepresentationParameter
public static final String UsesTitledBorderParameter
public static final String UsesLabelComponentParameter
public static final String UsesPasswordFieldParameter
public static final String UsesTableLabelsParameter
public static final String UsesActionParameter
public static final String UsesButtonParameter
public static final String UsesUserDefaultsWindowSizeParameter
public static final String UsesUserDefaultsWindowLocationParameter
public static final String InsetsParameter
public static final String DisplaysLabelInWidgetParameter
public static final String AdditionalActionsParameter
public static final String InvokesDefaultActionParameter
public static final String DisabledActionNamesParameter
public static final String DisposeIfDeactivatedParameter
public static final String HighlightParameter