Tabnine Logo
ElementMap.inline
Code IndexAdd Tabnine to your IDE (free)

How to use
inline
method
in
org.simpleframework.xml.ElementMap

Best Java code snippets using org.simpleframework.xml.ElementMap.inline (Showing top 9 results out of 315)

origin: org.simpleframework/simple-xml

/**
* This method returns a <code>Converter</code> which can be used to
* convert an XML node into an object value and vice versa. The 
* converter requires only the context object in order to perform
* serialization or deserialization of the provided XML node.
* 
* @param context this is the context object for the serialization
* 
* @return this returns an object that is used for conversion
*/
public Converter getConverter(Context context) throws Exception {
 Type type = getMap();
 
 if(!label.inline()) {
   return new CompositeMap(context, entry, type);
 }
 return new CompositeInlineMap(context, entry, type);     
}  
origin: ngallagher/simplexml

/**
* This method returns a <code>Converter</code> which can be used to
* convert an XML node into an object value and vice versa. The 
* converter requires only the context object in order to perform
* serialization or deserialization of the provided XML node.
* 
* @param context this is the context object for the serialization
* 
* @return this returns an object that is used for conversion
*/
public Converter getConverter(Context context) throws Exception {
 Type type = getMap();
 
 if(!label.inline()) {
   return new CompositeMap(context, entry, type);
 }
 return new CompositeInlineMap(context, entry, type);     
}  
origin: org.restlet.lib/org.simpleframework.simple-xml

/**
* This method returns a <code>Converter</code> which can be used to
* convert an XML node into an object value and vice versa. The 
* converter requires only the context object in order to perform
* serialization or deserialization of the provided XML node.
* 
* @param context this is the context object for the serialization
* 
* @return this returns an object that is used for conversion
*/
public Converter getConverter(Context context) throws Exception {
 Type type = getMap();
 
 if(!label.inline()) {
   return new CompositeMap(context, entry, type);
 }
 return new CompositeInlineMap(context, entry, type);     
}  
origin: org.simpleframework/simple-xml

/**
* This is used to acquire the name of the element or attribute
* that is used by the class schema. The name is determined by
* checking for an override within the annotation. If it contains
* a name then that is used, if however the annotation does not
* specify a name the the field or method name is used instead.
* 
* @return returns the name that is used for the XML property
*/
public String getName() throws Exception{
 if(name == null) {
   Style style = format.getStyle();
   String value = entry.getEntry();
      if(!label.inline()) {
    value = detail.getName();
   }
   name = style.getElement(value);
 }
 return name;
}
origin: org.restlet.lib/org.simpleframework.simple-xml

/**
* This is used to acquire the name of the element or attribute
* that is used by the class schema. The name is determined by
* checking for an override within the annotation. If it contains
* a name then that is used, if however the annotation does not
* specify a name the the field or method name is used instead.
* 
* @return returns the name that is used for the XML property
*/
public String getName() throws Exception{
 if(name == null) {
   Style style = format.getStyle();
   String value = entry.getEntry();
      if(!label.inline()) {
    value = detail.getName();
   }
   name = style.getElement(value);
 }
 return name;
}
origin: ngallagher/simplexml

/**
* This is used to acquire the name of the element or attribute
* that is used by the class schema. The name is determined by
* checking for an override within the annotation. If it contains
* a name then that is used, if however the annotation does not
* specify a name the the field or method name is used instead.
* 
* @return returns the name that is used for the XML property
*/
public String getName() throws Exception{
 if(name == null) {
   Style style = format.getStyle();
   String value = entry.getEntry();
      if(!label.inline()) {
    value = detail.getName();
   }
   name = style.getElement(value);
 }
 return name;
}
origin: ngallagher/simplexml

/**
* Constructor for the <code>ElementMapLabel</code> object. This
* creates a label object, which can be used to convert an XML 
* node to a <code>Map</code> of XML serializable objects.
* 
* @param contact this is the contact that this label represents
* @param label the annotation that contains the schema details
* @param format this is the format used to style this label
*/
public ElementMapLabel(Contact contact, ElementMap label, Format format) {
 this.detail = new Introspector(contact, this, format);
 this.decorator = new Qualifier(contact);
 this.entry = new Entry(contact, label);
 this.required = label.required();
 this.type = contact.getType();
 this.inline = label.inline();
 this.override = label.name();      
 this.data = label.data();
 this.format = format;
 this.label = label;
}
origin: org.restlet.lib/org.simpleframework.simple-xml

/**
* Constructor for the <code>ElementMapLabel</code> object. This
* creates a label object, which can be used to convert an XML 
* node to a <code>Map</code> of XML serializable objects.
* 
* @param contact this is the contact that this label represents
* @param label the annotation that contains the schema details
* @param format this is the format used to style this label
*/
public ElementMapLabel(Contact contact, ElementMap label, Format format) {
 this.detail = new Introspector(contact, this, format);
 this.decorator = new Qualifier(contact);
 this.entry = new Entry(contact, label);
 this.required = label.required();
 this.type = contact.getType();
 this.inline = label.inline();
 this.override = label.name();      
 this.data = label.data();
 this.format = format;
 this.label = label;
}
origin: org.simpleframework/simple-xml

/**
* Constructor for the <code>ElementMapLabel</code> object. This
* creates a label object, which can be used to convert an XML 
* node to a <code>Map</code> of XML serializable objects.
* 
* @param contact this is the contact that this label represents
* @param label the annotation that contains the schema details
* @param format this is the format used to style this label
*/
public ElementMapLabel(Contact contact, ElementMap label, Format format) {
 this.detail = new Introspector(contact, this, format);
 this.decorator = new Qualifier(contact);
 this.entry = new Entry(contact, label);
 this.required = label.required();
 this.type = contact.getType();
 this.inline = label.inline();
 this.override = label.name();      
 this.data = label.data();
 this.format = format;
 this.label = label;
}
org.simpleframework.xmlElementMapinline

Popular methods of ElementMap

  • <init>
  • attribute
  • data
  • empty
  • entry
  • key
  • keyType
  • name
  • required
  • value
  • valueType
  • valueType

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Notification (javax.management)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now