org.jvnet.hyperjaxb3.xjc.model
Class DefaultTypeUse

java.lang.Object
  extended by org.jvnet.hyperjaxb3.xjc.model.DefaultTypeUse
All Implemented Interfaces:
com.sun.tools.xjc.model.TypeUse

public class DefaultTypeUse
extends Object
implements com.sun.tools.xjc.model.TypeUse


Constructor Summary
DefaultTypeUse(com.sun.tools.xjc.model.CNonElement itemType, boolean collection, com.sun.xml.bind.v2.model.core.ID id, MimeType expectedMimeType, com.sun.tools.xjc.model.CAdapter adapter)
           
 
Method Summary
 com.sun.codemodel.JExpression createConstant(com.sun.tools.xjc.outline.Outline outline, com.sun.xml.xsom.XmlString lexical)
           
 boolean equals(Object o)
           
 com.sun.tools.xjc.model.CAdapter getAdapterUse()
           
 MimeType getExpectedMimeType()
           
 com.sun.tools.xjc.model.CNonElement getInfo()
           
 int hashCode()
           
 com.sun.xml.bind.v2.model.core.ID idUse()
           
 boolean isCollection()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTypeUse

public DefaultTypeUse(com.sun.tools.xjc.model.CNonElement itemType,
                      boolean collection,
                      com.sun.xml.bind.v2.model.core.ID id,
                      MimeType expectedMimeType,
                      com.sun.tools.xjc.model.CAdapter adapter)
Method Detail

isCollection

public boolean isCollection()
Specified by:
isCollection in interface com.sun.tools.xjc.model.TypeUse

getInfo

public com.sun.tools.xjc.model.CNonElement getInfo()
Specified by:
getInfo in interface com.sun.tools.xjc.model.TypeUse

getAdapterUse

public com.sun.tools.xjc.model.CAdapter getAdapterUse()
Specified by:
getAdapterUse in interface com.sun.tools.xjc.model.TypeUse

idUse

public com.sun.xml.bind.v2.model.core.ID idUse()
Specified by:
idUse in interface com.sun.tools.xjc.model.TypeUse

getExpectedMimeType

public MimeType getExpectedMimeType()
Specified by:
getExpectedMimeType in interface com.sun.tools.xjc.model.TypeUse

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

createConstant

public com.sun.codemodel.JExpression createConstant(com.sun.tools.xjc.outline.Outline outline,
                                                    com.sun.xml.xsom.XmlString lexical)
Specified by:
createConstant in interface com.sun.tools.xjc.model.TypeUse


Copyright © 2005-2014. All Rights Reserved.