org.jvnet.hyperjaxb3.xjc.model
Class CExternalLeafInfo

java.lang.Object
  extended by org.jvnet.hyperjaxb3.xjc.model.CExternalLeafInfo
All Implemented Interfaces:
com.sun.tools.xjc.model.CCustomizable, com.sun.tools.xjc.model.CNonElement, com.sun.tools.xjc.model.CTypeInfo, com.sun.tools.xjc.model.TypeUse, com.sun.xml.bind.v2.model.annotation.Locatable, com.sun.xml.bind.v2.model.core.NonElement<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>, com.sun.xml.bind.v2.model.core.TypeInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>, com.sun.xml.bind.v2.runtime.Location

public class CExternalLeafInfo
extends Object
implements com.sun.tools.xjc.model.CNonElement, com.sun.xml.bind.v2.runtime.Location


Field Summary
 
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement
ANYTYPE_NAME
 
Constructor Summary
CExternalLeafInfo(Class<?> c, QName typeName, com.sun.tools.xjc.model.CAdapter adapter)
           
CExternalLeafInfo(Class<?> c, String typeName, Class<? extends XmlAdapter<?,?>> adapterClass)
           
 
Method Summary
 boolean canBeReferencedByIDREF()
           
 com.sun.codemodel.JExpression createConstant(com.sun.tools.xjc.outline.Outline arg0, com.sun.xml.xsom.XmlString arg1)
           
 com.sun.tools.xjc.model.CAdapter getAdapterUse()
           
 com.sun.tools.xjc.model.CCustomizations getCustomizations()
           
 MimeType getExpectedMimeType()
           
 CExternalLeafInfo getInfo()
           
 com.sun.xml.bind.v2.runtime.Location getLocation()
           
 Locator getLocator()
           
 com.sun.xml.xsom.XSComponent getSchemaComponent()
           
 com.sun.tools.xjc.model.nav.NType getType()
           
 QName getTypeName()
           
 com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
           
 com.sun.xml.bind.v2.model.core.ID idUse()
           
 boolean isCollection()
           
 boolean isSimpleType()
           
 com.sun.codemodel.JType toType(com.sun.tools.xjc.outline.Outline o, com.sun.tools.xjc.outline.Aspect aspect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.bind.v2.runtime.Location
toString
 

Constructor Detail

CExternalLeafInfo

public CExternalLeafInfo(Class<?> c,
                         String typeName,
                         Class<? extends XmlAdapter<?,?>> adapterClass)

CExternalLeafInfo

public CExternalLeafInfo(Class<?> c,
                         QName typeName,
                         com.sun.tools.xjc.model.CAdapter adapter)
Method Detail

toType

public com.sun.codemodel.JType toType(com.sun.tools.xjc.outline.Outline o,
                                      com.sun.tools.xjc.outline.Aspect aspect)
Specified by:
toType in interface com.sun.tools.xjc.model.CTypeInfo

isCollection

public boolean isCollection()
Specified by:
isCollection in interface com.sun.tools.xjc.model.CNonElement
Specified by:
isCollection 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

getAdapterUse

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

getInfo

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

getLocator

public Locator getLocator()
Specified by:
getLocator in interface com.sun.tools.xjc.model.CCustomizable

getSchemaComponent

public final com.sun.xml.xsom.XSComponent getSchemaComponent()
Specified by:
getSchemaComponent in interface com.sun.tools.xjc.model.CCustomizable

getTypeName

public QName getTypeName()
Specified by:
getTypeName in interface com.sun.xml.bind.v2.model.core.NonElement<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>

isSimpleType

public boolean isSimpleType()
Specified by:
isSimpleType in interface com.sun.xml.bind.v2.model.core.NonElement<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>

canBeReferencedByIDREF

public boolean canBeReferencedByIDREF()
Specified by:
canBeReferencedByIDREF in interface com.sun.xml.bind.v2.model.core.TypeInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>

getType

public com.sun.tools.xjc.model.nav.NType getType()
Specified by:
getType in interface com.sun.xml.bind.v2.model.core.TypeInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>

getLocation

public com.sun.xml.bind.v2.runtime.Location getLocation()
Specified by:
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatable

getUpstream

public com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
Specified by:
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatable

createConstant

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

getCustomizations

public com.sun.tools.xjc.model.CCustomizations getCustomizations()
Specified by:
getCustomizations in interface com.sun.tools.xjc.model.CCustomizable


Copyright © 2005-2014. All Rights Reserved.