oracle.mail.sdk.rule
Class Account
java.lang.Object
|
+--oracle.xml.classgen.CGXSDElement
|
+--oracle.mail.sdk.rule.RuleElement
|
+--oracle.mail.sdk.rule.Account
- public class Account
- extends RuleElement
This class represents the top level object that contains all of one's rules. It serves as an interface to RuleParser when saving or retrieving a user's rules. To create an Account object, you need to have an AccountType object first. AccountType object actually contains all the rule component. An Account object is simply a wrapper that interfaces with RuleParser.
- Since:
- 9.0
- Version:
- $Header: Account.java 10-jan-2002.17:06:21 haye Exp $
- See Also:
AccountType
, RuleParser
, RuleParser.getRuleObjects()
, RuleParser.setRuleObjects(Account)
Constructor Summary |
Account(AccountType elemtype)
Constructs an instance using an existing AccountType Object. |
Method Summary |
void |
print(oracle.xml.parser.v2.XMLOutputStream out)
Prints in XML representation of the Account object to an XMLOutputStream object. |
Methods inherited from class oracle.xml.classgen.CGXSDElement |
getAttributes, getChildElements, getNodeValue, printAttributes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Account
public Account(AccountType elemtype)
- Constructs an instance using an existing AccountType Object.
-
- Parameters:
elemtype
- the type to which the element is set
- See Also:
AccountType
print
public void print(oracle.xml.parser.v2.XMLOutputStream out)
throws java.io.IOException
- Prints in XML representation of the Account object to an XMLOutputStream object. This method can be used to display rules in text.
-
- Overrides:
- print in class oracle.xml.classgen.CGXSDElement
-
- Parameters:
out
- the output stream
- Throws:
- java.io.IOException - if there is an error in writing the output
- See Also:
XMLOutputStream
Copyright © 1988, 2003 Oracle Corporation. All Rights Reserved.