com.indexdata.torus2.model
Class RealmDefinition

java.lang.Object
  extended by com.indexdata.torus2.model.RealmDefinition
All Implemented Interfaces:
DOMSerializable

public class RealmDefinition
extends Object
implements DOMSerializable

Author:
jakub

Nested Class Summary
static class RealmDefinition.MatchKey
           
 
Constructor Summary
RealmDefinition(String realmName, String realmType)
           
RealmDefinition(String realmName, String realmType, RealmDefinition.MatchKey matchKey)
           
 
Method Summary
static RealmDefinition fromDOM(Document doc, String realmName)
           
 RealmDefinition.MatchKey getMatchKey()
           
 String getRealmName()
           
 String getRealmType()
           
 String getXsiLayerType()
           
 Element toDOM(Element parentElement)
          Serializes object to a DOM Tree and returns the root element for that Tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealmDefinition

public RealmDefinition(String realmName,
                       String realmType)

RealmDefinition

public RealmDefinition(String realmName,
                       String realmType,
                       RealmDefinition.MatchKey matchKey)
Method Detail

getRealmName

public String getRealmName()

getRealmType

public String getRealmType()

getMatchKey

public RealmDefinition.MatchKey getMatchKey()

getXsiLayerType

public String getXsiLayerType()

fromDOM

public static RealmDefinition fromDOM(Document doc,
                                      String realmName)
                               throws MalformedInputException
Throws:
MalformedInputException

toDOM

public Element toDOM(Element parentElement)
Description copied from interface: DOMSerializable
Serializes object to a DOM Tree and returns the root element for that Tree. If parentElement is null this method creates a new Document on it's own.

Specified by:
toDOM in interface DOMSerializable
Returns:


Copyright © 2008-2013 Index Data. All Rights Reserved.