org.jvnet.hyperjaxb3.xjc.model
Class DefaultTypeUse
java.lang.Object
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,
javax.activation.MimeType expectedMimeType,
com.sun.tools.xjc.model.CAdapter adapter)
|
DefaultTypeUse
public DefaultTypeUse(com.sun.tools.xjc.model.CNonElement itemType,
boolean collection,
com.sun.xml.bind.v2.model.core.ID id,
javax.activation.MimeType expectedMimeType,
com.sun.tools.xjc.model.CAdapter adapter)
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 javax.activation.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-2011. All Rights Reserved.